Optimize Your Site by Including Google's JQuery Library

I just finished a small overhaul of the twentyten theme, using my child theme.  Just a few things I wanted changed to start with.  So the next articles I write will cover all of that.  How to do some real basic customizing.  We’ll change the header size, add a background to widgets, widen the theme, etc.  But the first thing I did, which is something I always do with my themes is to boot WordPress’ JQuery library in favour of Google’s.  Here’s the how and why.

Continue reading “Optimize Your Site by Including Google's JQuery Library”

Adding Content Under Your Post in a TwentyTen Child Theme

Over the weekend I installed Simple Twitter Connect (STC) and Simple Facebook Connect (SFC) here on VoodooPress.  They are my favourite plugins for total integration with each service.  And out of the box they work great.  You can have them just plop the ‘Like’ and ‘Tweet’ buttons under all your posts, and it works, and looks good.  But I’m picky.  I really only want my buttons manually placed exactly where I want them.  I’m using a twentyten child theme I made, and I wanted to insert the buttons only on single post views.  But I didn’t want to copy single.php from twentyten to use my own for just this.  I prefer to keep the original templates in use from the parent, and place any extra stuff through functions.php whenever possible.  I ran across several options, all of which worked in some fashion.  So let’s check out various ways to get content added under your post.  You can use the techniques here for pretty much any post, I’m just focusing on a twentyten child as that’s what I’m using.

Continue reading “Adding Content Under Your Post in a TwentyTen Child Theme”

Custom WordPress Admin Screen Footer Text

Take a look down at the bottom of your admin panels.  What do you see?  There’s some text down there, probably:

Thank you for creating with WordPress. | Documentation | Feedback

What if you would like to replace that?  Well, it’s pretty darned easy!  Here we go again hooking into WordPress.  Just add this to your functions.php or an included file if you followed us here.

Continue reading “Custom WordPress Admin Screen Footer Text”

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”

Add Google Analytics Code With a Simple Hook

I recently posted an article about the importance of child themes.  For now the article is over on my blog, but soon I will move it over here as I get this site going.  But since I just started this site, and for the time being have decided to stick with the Twenty Ten theme, I had to take my own advice and make a child theme.  I’ve called it Voodoo Child, which is a fun name.  I figured as I started doing things to build up the site, I would keep track of little bits and pieces here to help others.

Continue reading “Add Google Analytics Code With a Simple Hook”