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.
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.
In WordPress dashboard, the default editor is the “Visual Editor”. It is probably the editor that most people enjoy, but personally I prefer using the HTML editor. If you’re like me you’ll probably like this tip which will make the HTML editor as the default.
Did you ever want to display how many blogroll links you have in total? If yes, just read this recipe. It’s pretty easy to do using the $wpdb object and some SQL.
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.
Twitter and other third parties sites have great widgets that allow you to display how many times your posts have been retweeted. But how to do it in full text, without using a widget? Just read this recipe and you’ll know how you can easily do it.
The default user profile allows users to display their msn, aim, jabber and yahoo messenger adresses. But in 2010, you might want to add more recents services such as Twitter or Facebook. Here’s a recipe to do so.
When using WordPress as a CMS or building a breadcrumb, you often need to get the post ancestors. Today let’s have a look at how you can easily get post ancestors of a specific post.