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 query_post. The template function query_post has several parameters that enables you to filter the posts for the WordPress post output Loop. Below is an example of pulling the latest post from a category and display it at the blog home page. The query_post function can be modified by many parameters. Here I’m displaying only few parameters in action.
The WordPress Website builder is well known for its robustness and ease of use. Here you can find articles related to 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 WordPress codex.
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.
RuhaniRabin.com integrates facebook.com social network library “Facebook Connect”. Enables users to securely login to RuhaniRabin.com using their esxisting facebook.com account.
WordPress Permalinks, first key to make your site SEO friendly. But wordpress by default uses the permalinks structures such as
and this is not really a good idea cause it will return your topics url which will look like this below
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
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.
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.