WordPress

The WordPress Website builder is well known for its robustness and ease of use. Here you can find articles related to WordPress.

How to display the latest post from each category using WordPress query_posts

By default WordPress presents all the posts in the blog sorted descending to post time at the home page. Well in some circumstances you might not want to have that layout on your home page. Lets say you have five categories and you want to pull the latest post from each of the categories and display it on your home page. Now that wont work out with the default WordPress home page layout. Here is a simple tip to work around that situation. WordPress has a function to filter out the posts depending on certain criteria, the function is known as . The template function query_post has several parameters that enables you to filter the posts for the WordPress . Below is an example of pulling the latest post from a category and display it at the blog home page. The function can be modified by many parameters. Here I’m displaying only few parameters in action.

How to use different header for categories and pages in WordPress

Don’t you come across situations like you need to implement multiple header types for different categories? I’m sure you do. Here is a simple yet effective solution to work out the issue to implement multiple header types for different categories. For more conditional tags you can look up to .

First of all create the header files for each categories. Also have one header file as the default one. These files will be included from the main header.php file. Consider the code below for the your WordPress theme header.php file.

Read more

How to Change WordPress Permalinks without affecting Google

WordPress Permalinks, first key to make your site SEO friendly. But wordpress by default uses the permalinks structures such as
/%year%/%monthnum%/%day%/%postname%/
and this is not really a good idea cause it will return your topics url which will look like this below
http://www.abc.com/2008/07/31/your-post-slug/
And say for the instance you’ve already has a handful of topics that has been posted for a while and google has indexed it. So now you want to change your WordPress Permalinks to a much more friendly url settings such as
http://www.abc.com/your-post-slug/
Yes you can easily upgrade your structure from WordPress Admin options but all the links indexed by google wont be able to land on the proper topics.

Read more

How to fix wordpress 2.6 dashboard to have incoming Technorati Links

From WordPress 2.3 onwards the administration dashboard displays Google blog search incoming links. Which is not always to the point and also not updated frequently. Lot of us suffers possibly because we are so used to look for incoming links to our blog from Technorati, which is more accurate, updated and to the point. I was looking for a possible solution in Google, found a few, namely from Soft Tech Reviews. Soft Tech Reviews described the situation related to wordpress 2.3.xx. I was studying it and I found out the structure for fetching the blog incoming links has been changed dramatically in WordPress 2.6, now it’s more object oriented code and the fetch RSS codes doesn’t stay in /wp-admin/index-extra.php , it actually uses index-extra.php to call the object from /wp-admin/includes/dashboard.php.

Read more