Assign Default Featured Images to Post by Category

I have been working on a new website recently – On My Bike. It’s a personal motivation website, I’m doing a lot of thinking, reflecting, etc. while I shop for a new bicycle. Once I get the bike I want to monitor some stats, etc. So I use IFTTT to relay data from my bike rides, scale, etc. to that new WordPress site. Those posts are automatic and I don’t get to set my featured image as they post. The theme I am using really looks best when featured images are included, so I wanted to add specific featured images per category since my auto posts are assigned their own categories. Here’s how I got that done.

Continue reading “Assign Default Featured Images to Post by Category”

GenerateWP – A Helpful Site for Generating WordPress Code

More times than not, I write posts here on VoodooPress to help myself find useful information later on down the road. I like to post it so I can find it; but I hope it helps my readers as well. I know I’m going to want to remember this site. GenerateWP has a good deal of useful tools and it looks like it is constantly being updated with new tools. Let me tell you why I think this is cool.

Continue reading “GenerateWP – A Helpful Site for Generating WordPress Code”

Development Tip: How to Know What Template is Being Used

I’ve been working on an overhaul of my personal blog for a while now. My old theme was pretty bloated, and way more than I needed since I offloaded everything away. The site used to have everything on it, but I moved all my WordPress posts to VoodooPress, and all my Voodoo Empire specific stuff to its own site. My blog doesn’t need all the features it had, and it was slowing things down. I haven’t had time to finish my custom theme, so in the meantime I decided to play around with some available themes, starting with Fanwood from DevPress. I have all of my custom stuff that used to be in the theme living in its own functionality plugin now. So I can activate any new theme, and within 20 minutes, have all my custom stuff in place. But the one problem I ran into – FanWood is a complex theme, not always using the standard WordPress templates I would expect – single.php for instance. Well, what’s an easy way to know what template is being loaded at all times? I’ve got the answer for ya!

Continue reading “Development Tip: How to Know What Template is Being Used”

Adding Google's +1 Button to a Twenty Ten Child Theme

Google recently let their +1 button loose upon the masses. I figured it wouldn’t be too hard to implement it here on VoodooPress. We already have everything in place that we need. If you followed along with this tutorial you are already all set up too! If not, check it out. You don’t need to do exactly what we did there, just follow along with the concept. We’re just going to insert the +1 button into the code to display it at the bottom of our posts.

Continue reading “Adding Google's +1 Button to a Twenty Ten Child Theme”

Making a Basic Plugin and Widget to Display Followers, Fans and Subscribers

I’ve never made a plugin before. I really never thought I had a need. But recently I changed my way of thinking. So I decided to learn how to make a plugin to display my followers, fans and subscribers in a widget. Now this widget is about as basic as possible. But it’s a starting point. I learned something, and maybe you can too! Let’s take a look at the why and how.

Continue reading “Making a Basic Plugin and Widget to Display Followers, Fans and Subscribers”

Include Images in Your WordPress RSS Feed

If you are like me, you probably spend a decent amount of time writing your posts. Trying to make sure everything is accurate, proofreading, etc. It’s great to get that information out there as many ways as possible. Using RSS is a great tool for getting your message across. However by default, WordPress does not include images in the RSS feed. You may use the featured image option, or you may attach images in your post. I know I spend a fair bit of time selecting or crafting an image for my post. I would really like for that to come across in my RSS feed. Let’s take a look at ways to include your images in your feed.

Continue reading “Include Images in Your WordPress RSS Feed”