All posts ordered by popularity
Micro Tip for the day: slice of PHP code for viewing all WordPress query variables. Very useful for figuring out custom loops and such.
Here are two snippets for displaying the category name and displaying the category link in WordPress.
Here is a growing collection of free stock photo sites. Before downloading and using any photos for your project, be sure to check the specific licensing policies of whichever site(s) you are considering. Most everything from the following sites are free and/or open source, but there may be certain exceptions. Make sure to check the […]
Here are some notes to help discern the subtle (and oft-confusing) differences between the WordPress functions, home_url and site_url (and their related “get” functions, get_home_url and get_site_url). We’ll look at the output of these functions and how they relate to the WordPress General Settings.
Some servers disable the functionality that enables WordPress Cron to work properly. This post provides an easy fix that should work on any server.
Devices and bots are often searching for different versions of the Apple Touch Icon. Here is a quick slice of .htaccess to redirect all apple-icon requests to apple.png.
Here we have a simple and effective PHP function that checks whether or not HTTPS (via SSL) is used for the current request.
Here are some notes and examples of how to check if a user is logged in to WordPress.
Here’s how to set the first attachment as the featured image for posts in WordPress. This is useful for User Submitted Posts, which attaches uploaded images to each submitted post.