single-post_type.php Not Working For Me…
-
I’ve got several post types defined in a custom theme, one of which is ‘Book Review’. According to the codex, I should be able to make a template page called ‘single-book_review.php’ which will display single posts of the type ‘Book Review’ correct? If so, for some reason, it’s not working for me. Instead, the post displays with the single.php template.
Just so I’m certain there are no coding glitches, I’m using the same code in both single.php and single-book_review.php template pages. On the single.php page, I’ve included an <? echo get_post_type(); ?> snippet. When I load a Book Review post, it definitely pulls the single.php page, and displays book-review in place of the snippet.
I’m not sure what rock I should turn over next…anything else I can do to troubleshoot this?
Thanks!
- The topic ‘single-post_type.php Not Working For Me…’ is closed to new replies.