Post Pic

How to display your average feed readers

6 comments

Many bloggers are using Feedburner “chicklet” to display their subscribers count. If you want to be able to display the count for an average 7 days, here is a piece of code you’re going to love.

Post Pic

Add categories or tags to post programatically

1 comment

I recently shown you jow you can create a post or a comment programatically, which is very usefull when creating advanced WOrdPress themes or plugins. Today, let’s have a look at another killer snippet: Add categories or tags to a posts, programatically.

Post Pic

Display dates as “time ago”, the easy way

No comments yet

Want to display human readable dates on your blog, such as “Posted 6 days ago?” There’s a lot of available functions to do so, but only a few people know that WordPress have its own built-in function to do that.

Post Pic

How to programatically remove WordPress dashboard widgets

4 comments

Added in version 2.7, the Dashboard Widget API allow you to ad widgets to your WordPress admin dashboard. In this recipe, I’ll show you how you can easily remove them programatically.

Post Pic

How to automatically create a custom field when a post is published

28 comments

Ever wanted to be able to automatically create a custom field with a value when a post (or page) is created? Then this snippet is for you.

Post Pic

WordPress hack: Display post thumbnail in your RSS feed

1 comment

Introduced in WordPress 2.9, get_the_post_thumbnail() allow you to display a thumbnail in your posts. But what about displaying post thumbnails in RSS feeds? Just read this recipe to know how to do.

Post Pic

WordPress hack: Remove admin name in comments class

No comments yet

By default, when the blog admin left a comment on his blog, WordPress use the name in the comment css class. This is useful for styling, but it will also let people know about your admin login name. If you want to hide this info, read this recipe.

Page 11 of 54« First...«89101112131415»...Last »