In one of my recent freelance works, I had to play a lot with categories. I was looking for an easy way to get a category slug using an ID, and I found this great function that I’d like to share with you today.
WordPress have lots of useful built-in function, unfortunely there’s no function to allow the quick edition of a term (category, tag, or custom term). Nevermind, we can still built our own.
WordPress allows you to vary how many blog posts you show on your blog, but it’s a single setting, and affects how many blog posts show over the whole website. This tip allows you to have a different number of posts for a particular category.
Do you ever wanted to be able to get tags related to one (or more) specific category? If yes, I’m pretty sure you’ll be delighted with this very cool tip.
Some days ago, I shown you how to disable search engine indexing on a single post. One of WpRecipes reader, Kevin Paquet, asked me how to do the same thing on a specific category. Here is the answer to Kevin question.
When you’re using the the_category( ) function to display the category name of a post, a link to the category archive is automatically created by WordPress. While this is a good thing in most cases, what if you don’t want to create a link? Here’s an easy way to do it.
Ever wanted to be able to finally remove the useless /category/ from your WordPress categories permalinks? If yes, read on and get ready to hack your .htaccess file!
Most readers like to know where they are on a website. To help them knowing what they’re exactly browsing right now, you should definitely highlight the current category. It is very easy to do, just read on.
Why a blog must always have the same layout? In this recipe, I’m going to tell you how you can define differents post layouts for each of your categories.