Uncategorized

WordPress Recent Posts excluding current category

To display recent posts from other categories excluding current category in which current posts resides then following code inside single.php will display recent 5 posts from same category. Just add following code inside single.php file at the location where you want to display recent posts. If you want to display recent posts from same category in…

Uncategorized

WordPress Recent posts from Current / Same Category

If you want to display recent posts from same category in which current posts resides then following code inside single.php will display recent 5 posts from same category. Just add following code inside single.php file at the location where you want to display recent posts. If you want more number of posts just change numberposts’ =>…

Uncategorized

WordPress 3.1 Enable, Disable / Remove admin bar

WordPress 3.1 added new feature “WordPress admin Bar ” which adds admin bar to easily access wordpress backend features when you are logged in on your wordpress blog similar to wordpress.com blog. Disable / Remove admin bar from wp-Admin Each User can manage Enable/Disable admin bar from there profile page. Just login to your wordpress wp-admin…

Uncategorized

WordPress Apply parent page template to subpage

Following code will be useful if you want to apply parent page template to all the subpages without selecting page template from the options. You have to add following code inside the function.php you can find this file inside your themes folder. So after adding these lines parent page template will be added automatically to all…