Ready to get started?Download WordPress


Post Name Permalinks break Page Template (1 post)

  1. sdjentertainment
    Posted 1 year ago #

    Hey There,

    I've been developing a theme with a few custom post types, one of which is Services (listing all the services for a company). I also have a Page called services which points to page-services.php template file. The page-services.php file has to loop to bring in all the Services (custom post type post) and display them.

    Everything works fine on the Default setting of Permalinks, however on any other option the Services page goes to the index.php file instead of the page-services.php template.

    I've tried disabling plugins, testing it out on another dummy theme, <?php flush_rewrite_rules( $hard ); ?> and nothing seems to working out.

    Just wondering if anybody had any other ideas


Topic Closed

This topic has been closed to new replies.

About this Topic