Using get_post_custom_values out of the loop?
get_post_custom_values works brilliantly in my single.php, but I can’t get a value out of it when I try to use it in my sidebar. I’m guessing it’s designed to work within The Loop?
Is there a way I can retain this value and use it again in my sidebar, or use get_post_custom_values outside of the loop?
- The topic ‘Using get_post_custom_values out of the loop?’ is closed to new replies.