Another Cool Way to Keep WordPress Functions Organized and Portable!

Just yesterday we made a post about how I keep my WordPress organized and portable.  Then I read this cool article from Justin Tadlock, and I really dig it.  Takes the idea I had of organizing your custom functions outside of functions.php and also the portability aspect, and really ramps it up.  I’ll probably stick to my method as it’s what I’ve gotten used to.  But I recommend reading the article.  You can learn a bit about making all your functions into a custom plugin.  If nothing else read the article to learn about the MU plugins folder.  That’s must use, not multi user by the way!

Keep Your WordPress Functions Organized and Portable

So here is a little tip I thought I would throw out there for everyone.  A way to keep your WordPress functions both organized, and fairly portable.  I actually did this by accident, and only now realized how cool it was!  We all know that functions.php is the place for your functions.  And if you keep adding to it, eventually you can have over a thousand lines of code.  It gets cumbersome and confusing!  And what if you switch themes?  Well check this out.

Continue reading “Keep Your WordPress Functions Organized and Portable”

Add a Favicon to Your Theme With a Simple Hook

In the spirit of posting things as I do them on my site, it’s time to add a favicon.  Once again we are going to use your functions.php file.  As we talked about in our last article, this is a great way to do this in a child theme.  The favicon code normally goes into header.php in the <head> section of your code.  And you could do that to your theme, but why bother copying over the whole header.php to your child theme just for this little edit?  Just drop this in functions.php and you are all set!

Continue reading “Add a Favicon to Your Theme With a Simple Hook”

Welcome to VoodooPress!

Welcome to my newest site, VoodooPress!  I’ve decided to branch off all of my WordPress related stuff.  That’ll keep my main blog related to my normal stuff, music, art, The Voodoo Empire in general.  And here I will focus on just WordPress stuff.  I’ve been making more and more WordPress related posts, and thought it would be more useful to have them all in one place.  So over the coming weeks I’ll post new stuff, but I’ll also be bringing over my existing posts.  And of course I’ll be redesigning the entire site, because that is fun to do!  WordPress 3.1 is about to drop, what better time than to try to get myself more involved!