Custom Post Type Page Template
A cleaner solution, but some caveats (3 posts)

  1. Drew Jaynes
    Docs Czar
    Posted 3 years ago #

    I'm glad to see a more straightforward approach than what you get with the Custom Post Template plugin. However, I immediately noticed that in certain situations, this renders post properties inaccessible including post meta. is_singular( 'your_pt' ) also returns false because the post_type is effectively being changed to 'page' when you're pushed over to displaying the page template(s). None of these things are surprising, however, just kind of what you get when you mess with the template stack :)

  2. Sim2K
    Posted 2 years ago #

    Can you fix it ?

  3. Drew Jaynes
    Docs Czar
    Posted 2 years ago #

    Can you fix it ?

    You'd probably need to talk to the plugin author about that. He's bypassing the template stack to do some things WordPress isn't currently very capable of handling gracefully.

    It's admirable that he's found a more direct approach than that other plugin I mentioned, but as I said in the review, these are caveats you need to accept if you're using a plugin that does something like this.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Custom Post Type Page Template
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.