WordPress.org

Support

Support » How-To and Troubleshooting » Single post page for custom post type

Single post page for custom post type

  • Rakesh Raja
    Participant

    @rakeshraja

    Hi

    I have custom post type “Projects”

    I have also custom taxonomy “wpgpjt-cat” means categories for above custom post type.

    Now I need a single post page for posts in above custom post type.

    I tried single-projects.php but its not working. Any Idea?

    Regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • riversatile
    Member

    @riversatile

    Hi,

    It’s good.

    Did you followed the CODEX Post Types recommandations ?

    Rakesh Raja
    Participant

    @rakeshraja

    Yes.. I do.. But I think I found the problem.. It’s permalinks which are causing the problem..

    I am using /%postname%/ and its not working but If I use default than it works.. any solution for this?

    Rakesh Raja
    Participant

    @rakeshraja

    ‘rewrite’ => array( ‘slug’ => ”, ‘with_front’ => false),

    I have added this too still question is how to make single page template for custom post type working with permalinks?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Single post page for custom post type’ is closed to new replies.