WordPress.org

Support

Support » Themes and Templates » Custom Page Template is ignored – default is being used instead

Custom Page Template is ignored – default is being used instead

  • I’ve done this many times, always worked until today:
    I copied the page.php file and used it to create a products.php template file. I created the Products page, applied the template, but viewing the page it is identical to the home page. Even the navigation bar shows that I’m on the Home page, despite clicking on Products link.

    What would cause the products.php template to be ignored? (I placed it in the child theme directory).

    http://tuskercompany.com/staging/products/

Viewing 1 replies (of 1 total)
  • Dug around some more and found other posts referencing the permalink settings. That made no sense at all – but I was groping for any possible solution so I tried it. It worked! I went to Settings->Reading, and changed Permalink Settings to ‘Custom Structure’, using the default
    /% postname %/ setting. Now I can see the content of my page and it uses my new custom page template.

    Oddly, though I selected ‘Custom Structure’, and hit Save Changes, the radio button reverts to Post Name each time I try to change it. I have no idea why.

    Hopefully this helps someone else.

Viewing 1 replies (of 1 total)
  • The topic ‘Custom Page Template is ignored – default is being used instead’ is closed to new replies.
Skip to toolbar