WordPress.org

Support

Support » How-To and Troubleshooting » Post Name Permalinks break Page Template

Post Name Permalinks break Page Template

  • 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

    Cheers,
    Simon

  • The topic ‘Post Name Permalinks break Page Template’ is closed to new replies.