query_post or single-[CPT].php?
-
Hello
<?php query_posts( ‘post_type=listing’); ?> Or
single-listing.php?According to my reading I have presumed that to display a custom post type all I need to do is copy my single.php and rename it accordingly. It doesn’t work for me and I just get the title.
Should I persist, am I misunderstanding something or what might I be doing wrong.
Or do I also need to use query_post?
Thank you
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘query_post or single-[CPT].php?’ is closed to new replies.