• Someone designed a template for a page but now I can’t edit it, the page is working fine and when I create a new page using this template exact same content is shown but on edit page I can’t find anything, there is literally nothing there to edit.

    So basically how do I edit that template or the specific page that is using this template.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The content of the page may be hard-coded in the corresponding file. Look into your theme’s folder (wp-content/themes/THEME-NAME) for a .php-file having a similar name to the name of the template. The content of the file should start with :

    /**
     * Template Name: TEMPLATE NAME
    

    “TEMPLATE NAME” is, of course, to be replaced with the name your template has. You can make a copy of that file and name it slightly differently ( both filename and the comment at the top of the content ). That way you would have a new Template in which you can safely try your customization on.

    • This reply was modified 7 years, 7 months ago by karimeo.
    Thread Starter fuser312213

    (@fuser312213)

    Thanks but I couldn’t find any such template file either of the same name or different name with coding for the given page.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to edit a page that is using a template’ is closed to new replies.