Create WordPress Post Thumbnail
So you’re wondering how everybody has that thumbnail for all of their posts in their blog’s homepage?
Well, if you’re using WordPress 2.9 (or above) then this will be a simple work for your theme. Otherwise, you would be doing extra work in preparing your theme (by means of using custom field feature).
Two things that you will be working on, are:
- Your
functions.php - Your corresponding theme file (for instance: the
index.php)
functions.php
There are two things that you can define in your theme’s functions.php file. First is the function activation line:
add_theme_support( 'post-thumbnails' );
That line will enable Post Thumbnail User Interface (inside your dashboard) for both Post and Page content types. From now on, you can see an entry field – usually on the right side of your posting screen – for “Featured Image” selection.
Now the second thing is the dimension of your thumbnails
set_post_thumbnail_size( 50, 50 );
You have two options here: box-resizing and hard-cropping. Box resizing shrinks an image proportionally (that is, without distorting it), until it fits inside the “box” you’ve specified with your width and height parameters. For example, a 100×50 image in a 50×50 box would be resized to 50×25. The benefit here is that the entire image shows. The downside is that the image produced isn’t always the same size. Sometimes it will be width-limited, and sometimes it will be height-limited. If you’d like to limit images to a certain width, but don’t care how tall they are, you can specify your width and then specify a height of 9999 or something ridiculously large that will never be hit.
In-Depth Information about Webhosting Company
Web Hosting Providers, or some may call it Web Hosting Companies. Nowadays, there are so many names, yet you haven’t experience every single of them. So you come to conclusion that you need to peek into some sort of catalog that enlisted every major web hosting provider.
Worry no more, because these days the internet is providing you with almost everything, including real customers reviews and ratings for those web hosting companies.
If you’re about to go for Google, hold your horses. Instead of wasting your time and effort to try every possible keyword combination, like:
“ABC web hosting review“, or
“problem with XXX web hosting service“, or lots of other phrases you’d prefer. There’s a catalog-like web hosting directory that provide you with web hosting companies profile, pricing information and customers reviews.
What do you say about that, huh? Now you can forget those tiresome effort, to google the name (or the phrases) again and again.
Custom WordPress Maintenance Note
Recently, I moved my WordPress blog to another hosting plan. And to make sure that no changes was made during the migration process, I set a maintenance notice. Hence, visitors got nothing when they visit my blog. So no more comments being left from the database backup.
Well, the process was plain simple, with plain result. But then I learnt a way to make the notice sounds more like an “apology”. A simple custom page, to show your personalized message to your visitor. This way, people will know that there is nothing wrong with your blog, and that you simply undergoing a maintenance process.
In terms of SEO, this approach is also a good way to keep your index alive.


