Support » Themes and Templates » Overwrite template page

  • Hi, I’m using Gamepress theme and I’m trying to personalize permanently the home page. I’ve modified page.php as I need. The BIG problem is that when the theme needs an update the files .php will be overwritten and every time I update the theme I have to personalize page.php again. In Drupal, for example, I can create files of this type: node–page.php: every time I update the theme page.php is overwritten by my own file node–page.php and the personalization remains. Does a similar opportunity exists for wp to? Thanks sooooo much!


Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Chiara,

    1. make a backup of your site, every time you’re making changes!!

    2. Don’t make any changes to a theme itself. Instead make the changes to a childtheme. Should the author of your original theme update the theme, your changes will not be overwritten. Your site with your adaptations will remail intact.
    (see: )

    Install and use ‘one click child-theme’ to create a childtheme for you. [no syntax errors!]

    3. Use FTP to access the files of your site and it’s childtheme.
    Use NOTEPAD++ or proper EDITOR [not wordprosessor] to edit css and php.
    4. Make the changes in the CHILDtheme!
    – copy php files / css-file(s) of the original theme [as required] to the childtheme directory and edit them as required.

    Thanx!! I’ll try asap!


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