Disable WordPress Admin Bar

Posted by on Sep 27, 2013 in Wordpress | 1 Comment
Disable WordPress Admin Bar

Sometimes we need to remove the admin bar from the top from front end users when creating a membership website using wordpress.So here we are discussing about how we can disable wordpress admin bar or Hide WordPress admin bar So copy …

Get list of all WordPress menus

Posted by on Jun 5, 2013 in Php, Wordpress | No comments yet

If we need to get list of all wordpress menus we have to use the get terms, The code to fetch all the WordPress menus os shown below

Get number of post from wordpress query

Posted by on May 1, 2013 in Php, Wordpress | No comments yet

If we need to show the number of posts returned from query First we need to initialize the global variable global $wp_query And the entire code will be

How to remove the submenu with the same name as mainmenu in wordpress plugin

Posted by on Jan 30, 2013 in Php, Wordpress | No comments yet

During wordpress plugin development, Sometimes we need to remove the submenu with the same name as the mainmenu from sidebar for example see the image And in-order to remove the menu which repeats and to look like this we need …

Load More