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

Archive for Design Hacking

  • WordPress Hacks - How to Remove Date from Posts WordPress Hacks – How to Remove Date from Posts

    If you want to remove date from appearing on your blog posts, just delete the following snippet of codes from the /wp-content/themes/index.php page. If your theme has single.php, page,php, archives.php, find the codes and delete them too. As always, please make a backup of your files...

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

  • How to Number Your Comments How to Number Your Comments

    Lets say you have a fairly popular blog, but you want to follow the discussions that go on in the comments section. Instead of depending on that small avatar to find where you posted, here is an easy way to number all of the comments made on a post. I have included this on my blogs, and it has been ...

  • How to Add the Author’s Gravatar in Posts

    There are tons of sites out there that will use avatars along with usernames when displaying posts. On a WordPress blog, the easiest way to do that is by using gravatars. This is a site that is run by Automattic, and you can upload an avatar, that is then attached to your email address. This little ...

  • How to Make Header Images Random How to Make Header Images Random

    [caption id="attachment_132" align="aligncenter" width="450" caption="Courtesy of: http://www.bigsquaredot.com"][/caption] So you want to make the header images on your blog random huh? Well, you can do this extremely easy. Here are the steps to achieve this simple task. 1) Get the Images Okay,...

  • How to add an How to add an “edit” link to all of your WordPress Posts

    Sometimes you look at a post that you or a fellow author has published, and you see a little typo. Well, while you could go from there, to the admin dashboard, and then to the edit page, and then find the page, well, that's just not much fun now is it? Well, here is a simple little design hack that ...

  • How to widgetize a WordPress blog theme How to widgetize a WordPress blog theme

    Okay, if you're new to WordPress, more than likely all of the themes you are looking at using are widgetized. For that special occasion that your WordPress blog theme isn't widgetized, here's a simple way of how to hack your theme, and with just a little bit of code, you can widgetize your theme...