Disable bbPress and bbPress Post Toolbar Scripts and Styles if Not on a Forum Page

Here’s a quick little tidbit for you. I was recently working on a few small things to make my site load a bit faster, and I was digging through all my scripts and styles that load. I noticed that the scripts and styles for the bbPress 2.x plugin and the bbPress Post Toolbar plugin loaded on every page. Here’s a quick fix to load them only on an actual bbPress page.

Continue reading “Disable bbPress and bbPress Post Toolbar Scripts and Styles if Not on a Forum Page”

Add a Login Logout Link to Only One Specific Menu

A while back we had a nice little post one here about how to add a login/logout link to your nav menu. I recommend reading that through first if you haven’t before. It’ll get you up to speed and ready for this next tidbit of information. Today we will expand on that idea, with a login/logout link added to only one menu, with a referrer redirect! I’ll explain it all next.

Continue reading “Add a Login Logout Link to Only One Specific Menu”

Additional Colour Schemes for Your TwentyEleven Child Theme

I’ve wanted to add an additional colour scheme to my child theme here on VoodooPress since the twentyeleven theme first came out in it’s very early stages. I had pecked around at it from the start, but the code kept changing in the early days. After that I got pretty busy, and haven’t been able to revisit the idea until now. With a little bit of help from Alchymyth and Zeaks I’ve got a new colour scheme set up on here. I haven’t done anything with it yet, but the foundation is in place. Let’s take a look at how to add some additional colour schemes to your 2011 child theme.

Continue reading “Additional Colour Schemes for Your TwentyEleven Child Theme”

Adding and Removing Default Headers in TwentyEleven

After helping someone through some issues with adding and removing the default headers in twentyeleven, I thought that would be a great idea for our next tutorial. So we are going to cover adding and removing default headers to the twentyeleven theme. The techniques are the same as with twentyten, so keep reading if you are using that one. We will also look into how to set one of your headers as the default as well. This is pretty simple for you, let’s dig in!

Continue reading “Adding and Removing Default Headers in TwentyEleven”

Add a Widget Area Under Your First Post, Great For Ads or Pictures

I’m always experimenting with VoodooPress. This time I was looking to place a widget area under my first post. Personally I was looking to experiment with ad placement. I’m not sure if I’m sold on this location or not. But if I change my mind, this widget area could be useful for so many other things like images, or recent/popular post thumbnails. Let’s take a look at adding this widget area.

Continue reading “Add a Widget Area Under Your First Post, Great For Ads or Pictures”

Adding Related Posts Links to a Twenty Ten Child Theme in Functions.php

I think a nice feature to have in a theme is a list of related posts on the single post view. It gives the reader another way to find your content. We are going to use the same method we used before for adding content under a post. This way you can just add this into your functions.php, once again keeping things simple so we don’t have to modify any parent theme templates.

Continue reading “Adding Related Posts Links to a Twenty Ten Child Theme in Functions.php”

Add Image Size in a Twenty Ten Child Theme

I’ve seena few people stumble on this site searching for a way to add a featured/thumbnail image size to their child theme. This is something I needed to do recently, so we will take a look at it. This is also in preparation for tomorrows article where we will add a thumbnail image to the post list page in the admin panel. If we don’t create a new image size, the default header image size gets used, that obviously looks terrible in the list of posts on the admin side. We need nice little thumbnails. Here’s how to do it:

Continue reading “Add Image Size in a Twenty Ten Child Theme”