WordPress Tips and Tuts

Home / WordPress Tips

Redirect Any Of The Admin Pages To Any Location

The following snippet will let you redirect any of the admin pages to any location you wish based on the user ‘capability’. function...

How To Exclude Pgaes From Admin Edit Pages List By ID

Adding this snippet to the functions.php of your wordpress theme will let you remove pages from the admin pages list. Just update the...

Getting list of tags for a post

get_the_tags function Returns an array of objects, one object for each tag assigned to the post. This tag must be used within The Loop...

Create wordpress pricing table in a easier way

So, You or your client selling something  which has diff package packed with different version. Yes, you certainly need a pricing...

How to get logged in users role in wordpress?

Use following function to get user role: function get_user_role($id=null){ global $current_user; if(!$id) $id = $current_user->ID; if...

How to sort posts of a category using custom fields value in wordpress?

The following query to sort posts using custom field value under a category of custom post type in wordpress: $querystr = " SELECT...

How to create WordPress custom page template?

It is very easy to create custom page template for WordPress. Go through the following steps to create custom page template in few...
Get Access To All Items at WordPress Eden for as Small as $55  Signup Now