Custom Post Template
CPT Template Names? (2 posts)

  1. James
    Posted 4 years ago #

    So what are we supposed to name the templates we want to use with CPTs?

    I get that Regular Posts need "Template Name Posts" in front, but what about CPTs?

    For example what if I have a CPT named "test"? I tried naming the template "Template Name test : templatename", but nothing shows up.


  2. Simon Wheatley
    Code for the People
    Plugin Author

    Posted 4 years ago #

    CPTs need the templates to be named in the same way as regular posts, the templates will show up for everything (e.g. if you have two templates named appropriately these will show for regular posts and any enabled CPTs).

    Hope this helps.

Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic