Editing Functions.php

So you want to make changes to your theme’s functions.php file. Awesome.

Just a few warnings before you do that.

  1. Back up your files.
  2. No, really, back that ish up. This could break everything if you make a mistake here.
  3. Think about making a child theme to protect your original theme files and keep all of your edits separate.

You can edit your theme files either from your dashboard under Appearance > Editor, or by connecting to your site via FTP.

If you are making changes in the dashboard editor, be sure you have access to your site via FTP anyway. The editor can be pretty fussy, so an error here can completely break your site, leaving you with the white screen of death. If this happens, you can use that backed up file you made and upload it back to your site to get things working again.

But it’s probably easier and safer to just work with FTP. 🙂

Laurie M. Rauch

Heya! I'm Laurie M. Rauch and I play with code. I run Code Diva, where I specialize in valid, semantic HTML5 and CSS3 and WordPress Development and Coaching. Whether you're a design agency who needs a developer or a blogger or small business who needs help getting their site up and running, I can help. I'm available for freelance work, and I'd love to hear from you.

Get in on the good stuff

Sign up for my newslettter and get access to extra tutorials and resources.

Leave your thoughts

We love to hear your thoughts. All comments must follow our comment policy, so please practice considerate commenting etiquette and play nice.