Calling a particular custom field from ALL posts
-
First post – please be kind ??
I have a custom field – ‘thumb’ – in all my posts. Called using the typical:
<?php get_post_meta($post->ID, 'thumb', true); ?>
Which just spits out the image path.
I want to spit out ‘thumb’ for EVERY post in the WORK category, outside the loop, on the WORK category page.
I experimented with wp_query, but nothing really worked for me. I’m a PHP rookie.
I appreciate any help. Thank you!
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Calling a particular custom field from ALL posts’ is closed to new replies.