WordPress API Menu/Submenu Order

I’m developing a child-theme using WordPress 3.4.2 and the development version of the Options Framework by David Price. This is my first theme and I’m relatively new to this, so I’ve had a look into the WordPress Codex and checked out registering items into the API. Without tampering with any external files outside of my … Read more

Remove Categories / Tags From Admin Menu

I want to remove or hide Categories / Tags submenu under Posts in the Admin Menu. I know this works with the themes submenus: remove_submenu_page( ‘themes.php’, ‘widgets.php’ ); The same doesn’t seem to work for posts unfortunately: remove_submenu_page( ‘edit.php’, ‘edit-tags.php’ ); I’m using the admin_menu action: add_action( ‘admin_menu’, ‘function_call’ ) Do I need to add … Read more

How to add sub-menu to a menu generated by wp_nav_menu by using plugin

I have a menu generated by wp_nav_menu which look like <ul class=”nav-menu” id=”menu-top-nav”> <li class=”menu-item menu-item-type-custom menu-item-object-custom menu-item-43″ id=”menu-item-43″><a href=”http://www.example.com/item1.com”>Item 1</a></li> <li class=”menu-item menu-item-type-custom menu-item-object-custom menu-item-44″ id=”menu-item-44″><a href=”http://www.example.com/item2.com”>Item 2</a></li> <li class=”menu-item menu-item-type-custom menu-item-object-custom menu-item-45″ id=”menu-item-45″><a href=”http://www.example.com/item3.com”>Item 3</a></li> <li class=”menu-item menu-item-type-custom menu-item-object-custom menu-item-46″ id=”menu-item-46″><a href=”http://www.example.com/item4.com”>Item 4</a></li> </ul> I want to modify above menu by adding a … Read more

Is It Possible To Add Custom Post Type Menu As Another Custom Post Type Sub Menu

I currently developing a wordpress plugin that is using two custom post types. What I want to know here: is it possible to add a custom post type menu as another custom post type’s sub menu? 3 Yes. When you register your post type you need to set show_in_menu to the page you would like … Read more