WordPress 3.1 Very Slow? Disable The Admin Bar [Quick Tip]

Ever since I upgraded to WordPress 3.1, I found that getting around in the admin area becomes very slow. Typing a post in the text editor is extremely laggy and becoming more of a nightmare. Apparently. this was due to the admin bar taking up the system resource. One good way is to disable it for good.

Here’s how you can disable the admin bar:
Continue reading

Snippet: How to Add jQuery 1.5 to WordPress

jQuery 1.5 was released recently with plenty of bug fix and new effect. For those who wanted to make use of jQuery 1.5 in WordPress, here is how you can do it:

Open your functions.php file and copy and paste the following code.

if(!is_admin()){
wp_deregister_script('jquery');
wp_register_script('jquery', ("http://code.jquery.com/jquery-1.5.min.js"), false, '1.5');

Now, any theme/plugin that call the wp_enqueue_script('jquery') functions will return the path to the jQuery 1.5 script. Continue reading

How to Show Related Posts in WordPress Without Using Plugin

related-posts-wordThere are many plugins that allow you to display related posts on your site, but most of them are either too bloated, too complicated or too simple. A better way is to implement the related posts function directly into your theme and reduce the server overhead. In this way, you can also theme it up the way you want it.

This tutorial will teach you how you can show related posts in your site without using any plugin.
Continue reading