Uncategorized

WordPress query_post Exclude or include Post Formats

WordPress Post Formats is a theme feature introduced in WordPress 3.1. Its added extra functions to theme author to customize their wordpress theme with new meta feature. Post formats provides standardized list of formats , new formats cannot be added through themes or even plugins. In short, with a theme that supports Post Formats, a blogger…

Wordpress

WordPress Create User Programmatically

WordPress uses wp_insert_user to insert user in to the database. Or this function can be used to update the user information programmatically. WordPress Create User Programmatically using this code snippet. Create User Programmatically WordPress Usage: Parameters : $userdata it is an array with all the information about the user. Field Name Description ID An integer that…

Wordpress

WordPress 3.2 features

WordPress 3.2 is now available to the world, both as an update in your dashboard and a download on WordPress.org. The focus for this release was making WordPress faster and lighter. The first thing you’ll notice when you log in to 3.2 is a refreshed dashboard design that tightens the typography, design, and code behind the…

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…