Category Archives: WordPress Hacks

WP Hacks: How to update WordPress or Plugins With Stored Passwords

Most Web Hosting companies configure WordPress so that it automatically updates whenever you click on upgrade WordPress or WordPress plugins.  Some web hosting companies have this feature turned off.  If you have an VPS Hosting or Dedicated Server, ask them to install suPHP, if not you can add the following codes to your config.php file… Read More »

Top 10 WordPress hacks from June 2009

Cats Who Code has put together an awesome list of the top 10 WordPress hacks from June 2009. The list has some hacks that I’ve never seen before on other websites, and are pretty unique and well-worth checking-out. Here’s one, and click over to see the full list of hacks: Make your WordPress theme translatable… Read More »

Automatically get tr.im urls for your blog posts

Before, we showed you how to automatically get tinyurl’s on your WordPress blog. Well this time, I found a tutorial that will make your WordPress blog automatically generate tr.im url’s for your blog posts. First to do this, add the following lines to your functions.php file: function getTrimUrl($url) { $tinyurl = file_get_contents(“http://api.tr.im/api/trim_simple?url=”.$url); return $tinyurl; }… Read More »

Show Username of Logged-in User

If you want to show the username of a logged-in user in some place other than the meta sidebar widget that comes pre-loaded with WordPress, you can do so by placing the following code anywhere in your WordPress theme, and it will accomplish this simple task: <?php global $current_user; if ( isset($current_user) ) {     echo… Read More »

Display the total number of your Twitter followers on your WordPress blog

I never thought about completely implementing a Twitter follower counter within your WordPress themes’ files, but Jean-Baptiste Jung. from WPRecipes.com has come up with an excellent way of achieving such a task. Okay, so first off, copy and paste the following code, and add it to your current themes function.php file: function string_getInsertedString($long_string,$short_string,$is_html=false){   if($short_string>=strlen($long_string))return… Read More »

How to Customize Your Blogs 404 Error Page

404 error pages, they can get annoying fast. Sometimes it’s a frowny-face, sometimes it’s the black and white regular one; either way, they aren’t helpful or cool at all. Well, what can you do to fix this problem? No, not hard code it in. All you have to do is install the AskApache Google 404… Read More »