If you ever have the need to display the name of your current category without a link, the following code will let you do that. <?php foreach((get_the_category()) as $category) { echo $category->cat_name . ‘ ‘; } ?> You will need to insert this in your theme’s files in the appropriate place. Get WordPress Category Name...
Creating WordPress Theme Options With the Theme Customization API is easy to do. This article shows you how it’s done. The WordPress Theme Customization API was released with WordPress 3.4, back in 2012. It promised developers a standardized way of adding rich options themes, and users a way of tweaking their website in a, well,...
WordPress.org has so many themes you’re bound to find the perfect one for you. But what if you don’t? What if you find a theme that’s almost perfect but doesn’t have the kind of full width page template you need for your landing or about page – or maybe doesn’t have one at all? Not...
You never know what might trigger a spike in traffic. And, not only a temporary surge, but a steady flow of higher-than-usual volumes of traffic. For a blog or news site, a post gone viral could do it. For an e-commerce site, it could be a rave review from a reputable product review site or...
You know Git, right? It’s one of the most popular version control systems in use today. Plus, it’s everywhere: Pre-installed by many hosting providers, used as the system that operates behind GitHub and Bitbucket, and now even built into easy-to-use WordPress plugins. There’s been a lot of noise about Git in the WordPress community lately...
What do you do when you can’t find the perfect WordPress theme? In all likelihood, you probably turn to a theme framework. However, every once in a while, you probably have this thought flit across your mind: “I should just code an HTML5 template and convert it into a WordPress theme.” But that’s just a...
From time to time, as crazy as it seems, I come across a WordPress site that has no search box. Sometimes it seems to be because the theme itself never included one. But sometimes it seems that the site’s developer just didn’t want one. When you come across a situation like that, there are two...