I want to be able to display custom field data oustide the post loop.
I have found a “Get Custom Field Values” plugin. That works but it only get the most recent custom field from the database.
I would like to call and echo the custom field data from the first post that appears on the page you are looking at, but calling it from header.php. This is for a webcomic: http://ontherockscomics.com . I would be setting posts to only one per page, so this would run it like a daily archive. Doing it this way would allow me to keep my current layout. The comic is too wide to insert it in the post loop.
Thanks in advance.
- The topic ‘Custom Fields Outside Post Loop’ is closed to new replies.