Do you find you switch WordPress themes a lot?  If you do, Chris Pearson has taken the time to write a great post about using WordPress functions to ease the transition between themes.   The idea is to put all your design elements in one file and then move the file over to your new theme every time you switch, saving you the time of re-coding the specific elements you like to see in your blog’s theme.  

In his post, Chris provides the functions file to get you started, teaches you how to write your own functions, and then explains how to activate and use your new functions. 

I personally have used a functions file on some of my themes, but for me it hasn’t really saved much time.  That is probably because I’ve always prefered to hack my existing theme when I want to see changes, rather than to switch to a completely new theme.   For people that switch themes a lot, a user functions file is definitely something you should consider doing.

Kyle Eslick is WordPress enthusiast who took his passion for WordPress to the next level in 2007 by launching WPHacks.com as a place to share hacks, tutorials, etc. Follow Kyle on Twitter @KyleEslick!

  1. Richard H says:

    That’s an excellent article. Thanks for the heads up Kyle.

    Though I subscribe to Pearsonified, (using Firefox Live Bookmarks) I don’t check in often because Chris hasn’t been updating much of late.

  2. cana says:

    Nice !!!

  3. Hayes Potter says:

    I use a plugin called MyCSS. It creates a theme independent external css stylesheet. I use it a lot, and I switch themes kinda of often. Ever since I got it I haven’t had to do anything except click a button to switch themes, and make the site look good. I highly recommend using MyCSS, I’m currently trying to make a mod of this plugin for javascript.