Warning: mysqli_query(): (HY000/1030): Got error 28 from storage engine in /home/wpthemes/public_html/wp-includes/wp-db.php on line 1877
Wordpress Hacks | WPThemes.com - WordPress Themes

Archive for WordPress Hacks

  • WP Hacks: How to update WordPress or Plugins With Stored Passwords 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...

  • Top 10 WordPress hacks from June 2009 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 them...

  • Automatically get tr.im urls for your blog posts 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 getTri...

  • How to hide portions of text to Google on your WordPress blog How to hide portions of text to Google on your WordPress blog

    Want to hide portions of text in a specific post or page from google? Well, this is probably one of the simplest things you could do, but it is often now known of and overlooked. Here are is the code that you can use to hide text from google: This text will be indexed by Google... <!--googl...

  • Display your tags in a dropdown menu Display your tags in a dropdown menu

    Categories can be shown in a drop-down menu with no problem whatsoever, so shouldn't the same concept apply to that of tag clouds? Well WP Hacks and figured out a way to do just that, with very little effort. First, copy and paste the following code into your functions.php file: ...

  • Display Today's Date on your Blog Display Today’s Date on your Blog

    Want to show the date on your WordPress blog just anywhere? Well, here's a simple little hack with just a little bit of code that you can place anywhere for the date to be shown. Here's that code, and you can place it anywhere that suits your needs: <?php echo date('l jS F Y'); ?> You can...

  • Display the Author Who Edited a Post Last Display the Author Who Edited a Post Last

    Want to display the author who last edited any given post? Well, here's some simple code you can use to have that show on all of your posts. To first create the function for the task that we are going to do, copy and paste the following code into your theme's functions.php file: if (!function_ex...

  • How to preset text in the WordPress post editor How to preset text in the WordPress post editor

    If you're kind of a lazy person like I am, then here's just the tutorial for you. Juston Tadlock has perfectly shown how to preset text in the WordPress editor. What does this mean? That you can modify your current WordPress theme's functions.php file, and with the copying and pasting of a little co...

  •  Display the total number of users of your WordPress blog Display the total number of users of your WordPress blog

    Pro Blog Tutorials has again brought to us another very useful and practical tutorial in the WordPress realm. With this simple code and WordPress hack, you will be able to show the total number of  users for your WordPress blog, anywhere you want in your template. Just place the following code a...

  •  Show Username of Logged-in User 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 ( ...

  • Display the total number of your Twitter followers on your WordPress blog 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 th...

  • How to Get the Word Count in a Post How to Get the Word Count in a Post

    Thanks to WPRecipes, I have found an amazingly helpful tutorial how to get the word count in a post to show up on your index, or on your single page if you prefer. Here's how we go about doing this. Okay, first, open up your functions.php file in your themes directory, and paste the following cod...

  • Create a simple site map of all of your pages

    Okay, if you run a blog that spans across many different pages, there is a simple but affective way to organize that page. First off, you can create your own site map page template if you want using this tutorial, then put the following code in there to produce all of your categories and sub-categor...

  • How to Customize Your Blogs 404 Error Page 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...

  • How to Reset WordPress Admin Password Manually via phpMydmin How to Reset WordPress Admin Password Manually via phpMydmin

    There are many reasons why users need to reset password manually.  The user might have forgot the long password, the site might have been hacked and the hackers changed the password.  For whatever reason, you need to change the password, this mini-tutorial will show you how to change your password...