Don't "Just paste this code in your functions.php"
- 3,934 views
Presentation slides from WordCamp Toronto 2011 talk. ...
Presentation slides from WordCamp Toronto 2011 talk.
Many snippets of code are available on the web to add functionality to your WordPress site. “Just paste this code in your functions.php”, used to be the refrain for adding those functions to your site. Now many themes are using the update system, which will overwrite the functions.php when updating and you will lose your changes!
A lot of functions that are key to your site operation, but not related to the theme, are also now being added to the functions.php. These functions should really be saved somewhere else, so your site won’t break when you change or update themes.
This talk will show anyone who uses WordPress how to easily create a very simple child theme, and a very simple personal plugin for saving theme changes and code snippets. It’s really very easy!
- Total Views
- Views on SlideShare
- Embed Views