Post Pic

How to display an incrementing number next to each published post

10 comments

Ever wished to be able to automatically number your posts (Like Article 1, Article 2, and so on) like sites such as A List Apart are doing? If yes, just read this recipe which will show you how to do it easily.

Post Pic

Automatically replace content in PRE tags by HTML Entities

5 comments

If like me, you often display some code on your blog, there’s a strong chance that you’ll enjoy today’s recipe: This handy piece of code will automatically replace all content within <pre> and </pre> tags by html entities.

Post Pic

WordPress hack: Show your top contributors without a plugin

15 comments

Do you ever wished to be able to list your top contributors without using a plugin? If yes, you’ll be happy with this recipe that will show you how to do it.

Post Pic

WordPress tip: allow upload of more file types

8 comments

For some reason, WordPress uploader won’t let you upload some filetypes, such as Textmate’s .tmCommand. If you need to upload those files to your WordPress blog, here is a very nice snippet that will allow you to do it.

Post Pic

WordPress tip: Get rid of unused shortcodes

9 comments

WordPress shortcodes are great, but they have a bad point: When you decide to stop using them, their code stay in your post content. Here is a fix: A simple SQL query to run on your database to get rid of unused shortcodes.

Post Pic

WordPress tip: Get rid of unused post revisions

8 comments

WordPress have a feature which saves various copies of your posts in order to allow you to compare revisions or restore an older version of your posts. This is very useful, but it also take a lot of space in your database. Here is a very handy SQL query that will instantly delete all posts revisions as well as meta associated with it.

Post Pic

WordPress plugin: Protect your blog from malicious URL Requests

16 comments

Due to its popularity, WordPress is often the target of hackers. Today, let’s see how we can build a plugin that will check for malicious URL requests (Long request strings, presence of either “eval” and “base64″ php functions, etc.) and use it to protect our blog.

Page 4 of 45«12345678»...Last »