The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Post Name Permalinks break Page Template (1 post)

  1. sdjentertainment
    Posted 3 years 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

  • RSS feed for this topic
  • Started 3 years ago by sdjentertainment
  • This topic is not resolved
  • WordPress version: 3.5