Custom post type templating issues
-
Hi everyone. After a few hours of googling, I give up and I am hoping for some advice.
What I am trying to do: I created custom post types (I settled with Pods plugin), but I don’t want the custom posts be based on the single post template (which shows date, author, and all that), but on the single page template.
What I did: I created a copy of the single page template file and named it single-movie.php (because “movie” is a custom post type I created). So far so good, a single post that is a movie, is now styled like a single page.
The problem: Hueman displays a post’s categories at the top of the page if it’s a post, but displays the page title if it’s a page (very inconsistent if you ask me). Since I want to use the page template for my custom post types, I now have a situation where the page’s title isn’t displayed at all, I can’t seem to work out how to display the page title just in the same way post titles are usually displayed. And I would love to display a breadcrumb where the category usually is.
Any ideas? I’m puzzled by this very specific issue and inconsistency in the theme. I can’t be the only person running into this, as most of the custom post type use cases that are described in tutorials all over the web seem to be about types of content where “Page” is the more likely type of layout you want. Help greatly appreciated.
- The topic ‘Custom post type templating issues’ is closed to new replies.