Support » Themes and Templates » Rename default page template

  • Hello All,

    As we all know the default page template in all default themes is page.php. It is a different scenario if we create any other template for specific page as per our requirement, but default page template remains the same as page.php.

    What should I do, so that all wordpress pages will follow my custom template like xyz_page.php in place of page.php. I have tried to make it possible, but not succeed.

    Please put your inputs..!

Viewing 2 replies - 1 through 2 (of 2 total)
  • paulwpxp

    (@paulwp)

    Font hero

    Take note (pay attention) on the different in the header (topmost info) of default page.php and the custom-page-template.php, and then just copy the content of the custom one put(paste) into the default one.

    thanks for your reply…but not getting you..

    When I copy and paste the code of page.php to xyz_page.php then in this case my default template for pages still will be page.php.

    Will you please elaborate..??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Rename default page template’ is closed to new replies.