custom get_post_meta in custom loop
-
I have a metabox inside custom post type, I am trying to output the image upload onto my homepage template inside a loop…
There is a client logo banner and in my clients post type I would like each post to have a client logo and I am trying to output each logo into a
- unordered list…
Been using
<?php echo get_post_meta(get_the_ID(), 'my_ID', true); ?>
&
<?php echo get_post_meta($post->ID, 'my_ID', true); ?>
I believe it needs to be inside a loop, can you confirm that it does and if so can you help me get started with creating a custom loop for that post type?
- The topic ‘custom get_post_meta in custom loop’ is closed to new replies.