Custom Fields Outside Post Loop
-
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: https://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.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Custom Fields Outside Post Loop’ is closed to new replies.