Post Pic

How to add nofollow attributes to all links in a specific category

No comments yet

Sometimes you may want to have an entire category of your blog with nofollow links, for exemple if you’re linking to a lot of external resources. Here is a quick and easy recipe to do so. Enjoy!

Post Pic

Automatically spam comments with a very long url

No comments yet

Spam is definitely a problem for bloggers and most of you probably receive more than 100 spam comments per hour. Here is a simple recipe to automatically mark as spam all comments with an url longer than 50 characters.

Post Pic

Deal of the week: SpyBar (3 licences to win!!)

23 comments

Today, I’m glad to introduce a new giveaway on WPRecipes, sponsored by our partners Mighty Deals. At the same time, I’m going to introduce SpyBar, an amazing tool for bloggers and website owners.

Post Pic

How to make translatable JavaScript strings on your WordPress theme

No comments yet

Do you know that WordPress have a function called wp_localize_script(), which allow you to localize JavaScript strings? Here’s a practical example on how to use this little known but very useful function.

Post Pic

How to add SVG upload support to your WordPress blog

2 comments

By default, WordPress uploader do not support the SVG format. As this file format is becoming quite popular theses days, here is a simple recipe to add SVG upload to your WordPress install.

Post Pic

How to create a directory within the uploads folder

1 comment

When developing a plugin or theme, it can be useful to be able to programmatically create a directory within the wp-content/uploads folder. Here is a handy piece of code to do it.

Post Pic

How to display an author bio excerpt on your WordPress blog

3 comments

WordPress offers users the option to add biographical info for each author. This bio can be displayed on your theme using the the_author_meta( ‘description’ ) function. But what if you’d like to display only a bio excerpt? Here’s a function to do it.

Page 1 of 6612345678»...Last »

WP Theme of the week

Sponsored Likebox