Can’t create a SubMenu
Found out the problem was a plugin called TPC! Memory Usage. Not sure on why, but turning it off fixed it, so you know, whatever.
Found out the problem was a plugin called TPC! Memory Usage. Not sure on why, but turning it off fixed it, so you know, whatever.
you have several options.. A: Create a new page template for your home page Create a home.php file in your child theme directory, of course without the navigation(wish is included in (wp_head) B: Unregister the Primary and Secundary Nav Open your Child theme functions.php file and add this code at the end of the file, … Read more
Check the Screen Options dropdown tab at the top right on the menus page. There’s a checkbox there to enable posts and more. Cheers, CW
It can be done using custom walker object, Try this solution: http://helperclass.blogspot.com/2011/11/creating-separate-sub-menu-in-wordpress.html
The WP HTTPS plugin will be your friend.
When you use include parameter of wp_list_pages you are basically telling it to only include these certain Pages in the list. you should use exclude_tree instead, when using this parameter it will exclude a parent and all of that parent’s child Pages. so something like: $top_pages_to_exclude=”1″; // the top page to be excluded ID, you … Read more
you can use nav_menu_css_class filter hook to remove the classes: add_filter(‘nav_menu_css_class’ , ‘my_nav_menu_remove_class’ , 10 , 2); function my_nav_menu_remove_class($classes, $item){ $my_class = array(‘menu-item-class’); return $my_class; }
It’s really simple, when registering the Custom Post Type use: register_post_type( ‘post_type_name’, array ( … ‘show_in_nav_menus’ => FALSE … ) );
subscriber is a role, not a capability. Use a capability to manage access, e.g. read. To understand the difference better install Justin Tadlock’s plugin Members. For the subscriber role you get a list of capabilities like this: The administrator role in contrast:
wp_nav_menu() does not have a name argument. Instead, you should use theme_location. With register_nav_menus(), you indicate that you have two locations in your theme where you can display a menu. The user can then create multiple menus, and assign them to these locations. This is why we have the indirection via theme_location. If you know … Read more