• 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.

Viewing 1 replies (of 1 total)
  • Thread Starter Rebastion

    (@sebh)

    My only workaround I could think of is this: I work off the single post template file, remove what I don’t need displayed, and put a condition into the page-title.php that if the category of the custom post type content is a certain ID, then it will just display a custom text/link up where the category usually is. Thoughts?

    I think it’s a lot of customization work. It would be great if themes had little check boxes of what elements to be displayed with what types of content. For all the modularity in the world, wordpress themes are still horribly tangled messes of interdependent php files

Viewing 1 replies (of 1 total)
  • The topic ‘Custom post type templating issues’ is closed to new replies.