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

7 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.

Post Pic

WordPress tip: Create a PDF viewer shortcode

19 comments

If you’re using PDF files on your WordPress blog, it could be very cool to give your users the chance to open them using Google Docs. The following recipe will show you how you can do that.

Post Pic

WordPress trick: Change theme programatically

12 comments

In WordPress, changing themes are easy. But what when you have to change a theme programmatically? Just read the following recipe to find out. It’s a lot easier than you may think!

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