Support » Themes and Templates » updating themes

  • carltown


    I’m using the default theme and made some modifications to add some advertising to sidebar.php using html. It seems to work fine. I’m told I shouldn’t modify this theme (somewhere in the instructions it says this). Yet the codex seems to give the implication you can modify them. Even looks like people write their own themes. What is correct?

Viewing 3 replies - 1 through 3 (of 3 total)
  • TechGnome



    Well, the general consenes is that you shouldn’t modify it… BUT, what is suggested is to make a copy of the theme, give it a new name, then modify the copy. The reason for this is so that if you hork up the coding or something, you can switch it back to the default and not lose anything. This is known as “falling back to the default” – a safety net if you will. Also, if you need to copy over to undo some changes, you haven’t lost the original files.




    Of course you can and should modify themes. That’s what they’re there for.

    What you shouldn’t modify is the WP core files. Basically, anything outside of the wp-content directory. Not that it’s a bad thing to modify the core, it’s just a pain in the arse if you upgrade. Because you’ll have to modify everything all over again.



    Well, you can find posts around here telling the newest person not to start modifying the Default… because it’s quite complicated if you don’t understand how it works.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘updating themes’ is closed to new replies.