
Is WordPress giving you a headache these days? I understand.
Let’s admit it. WordPress is an unbelievable blogging tool. Millions of businesses and bloggers are using WordPress as the foundation of their website or blog. But, like your mother always told you, “Nothing is perfect in life… even WordPress.”
So, you see, if WordPress was so damn perfect, there wouldn’t be anything to debate about it, let alone blog about it. In this article, I will present to you 5 common problems that are raised along with their 5 solutions. If you want to make your WordPress blog even better, I suggest that you keep reading.
- How do I add a custom logo on my WordPress dashboard?
- How do I create a mobile version of my WordPress blog?
If you’re feeling awfully lazy and would like a simple three-step solution to creating a mobile version of your WordPress blog, I suggest you take a look at some of these WordPress plugins that do just that:
SpyreStudios recently published an article listing 10 tools you can use to create a mobile version of your WordPress blog. I recommend reading it for more information.
- How do I delete post revisions from my database?
- How do I create a custom WordPress login screen?
- How do I add a “Print This” button in my posts or pages?
- Of course, there are plugins that can do the job for you. Two that I recommend are PrintFriendly and WP-Print
Source: WP Hacks
Sick and tired of seeing that WordPress logo sitting at the top-left corner of your WordPress dashboard? Well, luckily there is a way to replace the image with your own custom image. Maybe, at the end, you will end up with something as sexy-looking as this:

Custom logo fail?
The image must be around 30px wide and 30px tall. Save the image to your theme’s image folder (/wp-content/themes/theme-name/images). Then, open up your functions.php file and insert the following code:
//hook the administrative header output
add_action('admin_head', 'my_custom_logo');
function my_custom_logo() {
echo '
<style type="text/css">
#header-logo { background-image:
url('.get_bloginfo('template_directory').'/images/custom-logo.gif)
!important; }
</style>
';
}
Remember to change the link info of your image if it is not the same as custom-logo.gif
Source: WP Beginner
Over the course of publishing several articles on your WordPress blog, your database will begin to accumulate a large amount of post revisions. This can eventually clog up and increase the size of your database, which is of course not good. To delete all the post revisions saved to your database, log into phpMyAdmin and select your blog’s database. Then, enter the following SQL query:
DELETE FROM wp_posts WHERE post_type = "revision";
What this code does is essentially look for the wp_posts table and delete all posts with revisions saved to it. Hopefully, this will speed up the response rate of your database and save you a tremendous amount of space.
If you want to limit how WordPress saves post revisions as you write new articles, you must edit your wp-config.php file and insert the following line of code:
define ('WP_POST_REVISIONS', 5); //Defines a maximum of 5 different revisions per post.
define('AUTOSAVE_INTERVAL', 3600); // Auto-saves on 1 hour interval
Line 1 sets the maximum number of saved post revisions to five per post. Line 2 changes the default setting of autosaving from 60 seconds to one hour.
Source: WP Recipes and WPBeginner

Damn, that's sexy.
Michael Martin from Pro Blog Design wrote a great article on how to create your own custom login page. Go check it out.
If you have articles on your blog or website you would like readers to be able to easily print, than simply paste this javascript into your single.php or index.php file:
<a href="javascript:window.print()" rel="nofollow">Print This!</a>
While this method is painfully easy, I wouldn’t recommend it because it simply does the same thing as going to your browser’s options and clicking on print. A better way would be to create a separate style sheet specifically for printer-friendly pages:
body, input, textarea, select {
color: #000;
background: none;
}
ul.primary-links, ul.secondary-links,
#header-region, .sidebar {
display: none;
}
body.sidebars, body.sideber-left, body.sidebar-right, body {
width: 640px;
}
body.sidebar-left #center, body.sidebar-right #center, body.sidebars #center,
body.sidebar-left #squeeze, body.sidebar-right #squeeze, body.sidebars #squeeze {
margin: 0;
}
#wrapper,
#wrapper #container .breadcrumb,
#wrapper #container #center,
#wrapper #container #center .right-corner,
#wrapper #container #center .right-corner .left-corner,
#wrapper #container #footer,
#wrapper #container #center #squeeze {
position: static;
left: 0;
padding: 0;
margin: 0;
width: auto;
float: none;
clear: both;
background: none;
}
#wrapper #container #header {
height: 130px;
}
#wrapper #container #header h1, #wrapper #container #header h1 a:link, #wrapper #container #header h1 a:visited {
text-shadow: none;
color: #000;
}
Pingback: How To Add A “Print This” Button In Your Blog | TutZone