3

I am using a page template created by myself, which is showing and working correctly in page backend. It also works on the front end.

The problem: Preview shows the normal "page.php" instead of using the template page. Any idea why this happens? I have never had this problem before. The template is called "page_temp_news.php" and is setup correctly and working so far.

Using latest wordpress 4.2.2. nginx server.

Thank you!

AD

  • 1
    Post your template. Note: use hyphens in template names, not underscores – Pieter Goosen Jul 10 '15 at 18:12
  • I'm having the same issue. I am using WordPress 4.6.1 and created 2 custom page templates with hyphens. for some reason when I am in the editor and try to switch back and forth between my custom page templates for a specific page, the preview button does not show me what I switched too. I have to click the update button in order to see the alternative template. – klewis Oct 31 '16 at 19:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.