Create WordPress Post Thumbnail

March 8, 2012 by · Leave a Comment
Filed under: How-To 

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 . Otherwise, you would be doing extra work in preparing your (by means of using feature).

Two things that you will be working on, are:

  1. Your functions.php
  2. 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 (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 “” 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.

Read more

In-Depth Information about Webhosting Company

March 3, 2012 by · Leave a Comment
Filed under: How-To 

Providers, or some may call it 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 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 “, 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, 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.

Read more

Custom WordPress Maintenance Note

January 29, 2012 by · 2 Comments
Filed under: How-To 

Recently, I moved my 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 process.

In terms of , this approach is also a good way to keep your index alive.

Read more

Next Page »