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.
Facebook connect is a Facebook API to integrate Facebook related social networking option to your website. It provides a secure layer of authentication mechanism to integrate partial Facebook features, user details for you. Today I’m going to show you a way to integrate Facebook authentication for your WordPress blog. This article assumes that you are already running WordPress 2.7 or above. It’s possible to make a Facebook connect plugin from the very scratch but here I’m covering the easy way to implement it. Alternatively because of some problems with this plugin, I’ve written another post for much more easier way to integrate facebook (Using Official Plugin). Now here are the steps to make you accomplish on this matter.
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.