How to check if a post is in a specific category and perform a specific task depending on the category

There are many times when performing a special task, for example showing a special image or displaying different task based on a post category is needed. The below example is code being added to the single.php (posts) template. Make sure you add the example within the post loop: 1 <?php if (have_posts()) : while (have_posts()) [...]

Adding a secondary category navigation without a plugin

Most of the time people will install a plugin to quickly get a secondary category navigation within the theme. Unfortunately, the plugins are often times bulky and perform a task that can be done in roughly 20 lines of code but is done in 250. Here’s a simple example of how to add a category [...]

Using WordPress functions outside of WordPress

I’ve run into many instances of business websites where half of the website is ran through the WordPress CMS and the other half was still old legacy website, or for whatever reason just no ported to WordPress. As time went on, the old legacy pages started to demand WordPress powered capabilities. For instance, showing posts [...]

Why is WordPress so good for SEO?

This is a question that often has me wondering if people really understand what Search Engine Optimization (SEO) is. To start, there is specifically two types of SEO 1) on-site and 2) off-site. What WordPress is amazing at is on-site SEO and does very little for off-site SEO, other then pinging external websites/bots. Obviously you [...]