Threaded Comments Going Out of Order in WordPress

Ever notice that certain comments end up out of order. I’ve encountered this issue on one of my posts and I think I discovered the cause. The problem is that I have been responding to certain comments through the admin panel and not directly on the single post page. Some of these comments are already […]
Show Your Search Query in WordPress

Wouldn’t you like to be able to display the actual search term entered by your user on the search results’ page? Good thing there is a very simple way in WordPress to do that with the_search_query function.
Displaying the Post’s Gallery in WordPress

I just came across this function today and thought I should share it. Whenever you add an image, or video for that matter, to a post, it becomes a part of that specific post’s gallery. Little did I know that you can actually display your post gallery anywhere you want with the default function [gallery].
Simple Image Grabber WordPress Plugin

I created a plugin for the function I talked about in my post Retrieve and Display Images from a WordPress Post just in case there is anyone out there who isn’t a fan of hacking code.
Removing Extraneous Backslashes with PHP

This is something that most people who use PHP already know. I still think it is useful to mention it because some less experienced PHP coders might not have come across this function just yet and they will be grateful. If you are displaying a string using PHP, sometimes you see something that looks like […]
Remove the Title Attribute from WordPress Category and Page Lists
I was creating a drop down menu for the categories in my Magazine Basic theme and I came across something that started to annoy me a bit. When you hover over the menu item, and the sub-menu dropped down, a title attribute would appear and cover some of the menu. This title attribute it hard […]
Retrieve and Display Images from a WordPress Post

I have already mentioned a few ways to do this but I have discovered a few problems with my old code. I have improved this one quite a bit so I felt that I should just delete my old suggestions and offer you the best technique I have discovered.
How to Add Nested Comments to Your WordPress Theme

When WordPress 2.7 came out, there were a lot of new features, most of which probably passed by under your radar. I know I missed a bunch and thankfully, I am starting to notice how much more powerful WordPress has become. I had someone request making my Magazine Basic theme function with nested comments and […]
A Few Things to Keep In Mind When Using the More Tag in WordPress

I just had someone ask me why everything on their front page became bolded when they placed <?php the_content(‘(more’)); ?> in their code to use in conjunction with the more tag in their posts. It took me a while to figure it out but the solution is pretty simple.
Why Certain Themes Won’t Preview Properly in WordPress

I have been developing some themes for WordPress and I couldn’t understand why they wouldn’t appear in the preview when they were selected. I went through all of my code and tested removing parts that I thought might be the cause and no luck. Luckily enough I stumbled upon WP Contempo and found a solution.