Default menu editor with automatic page list
you might be interested in one of my threads. Here: How to Hard Code Custom menu items Thanks!
you might be interested in one of my threads. Here: How to Hard Code Custom menu items Thanks!
You can’t add link/blogroll type items to the main navigation – add them as custom links instead. [Update] To be more precise, you could do it, but you would need to write some code that hooked into the menu creation/editing section, present a list of blogroll links in a metabox, allowed you to choose from … Read more
First: Use, for options(), the Settings API (tutorial). Second: Take a look at the core function and the available filters. Then take a look at the available filters: $sorted_menu_items = apply_filters( ‘wp_nav_menu_objects’, $sorted_menu_items, $args ); $items = apply_filters( ‘wp_nav_menu_items’, $items, $args ); $items = apply_filters( “wp_nav_menu_{$menu->slug}_items”, $items, $args );
The way that I would approach it is using the tax_query to create a query that looks for both the correct genre and type. For example, to query all Movies that are Drama: $myquery[‘tax_query’] = array( array( ‘taxonomy’ => ‘genre’, ‘terms’ => array(‘drama’), ‘field’ => ‘slug’, ), array( ‘taxonomy’ => ‘type’, ‘terms’ => array(‘movie’), ‘field’ … Read more
The hover is part of the theme you are using. You need to find whats causing the dropdown on hover and remove it. It’ll either be javascript controlled or css. You can test if its javascript by disabling javascript, although is may have a css fallback. If its CSS use firebug to find the selectors … Read more
After few hours of debugging I found out, that the wps_custom_nav_menu_items() actually receives the nav_menu_items with classes, applied by the _wp_menu_item_classes_by_context, but instead of using them, it reloads the entire menu from the database! So if you change $nav_items = wp_get_nav_menu_items( $menu_id ); To $nav_items = $args; (or just remove the line and rename the … Read more
Well, with custom menu’s there can not be any conflicts because, If I’m not mistaking, menu that has a name of a deleted one, will be assigned a new ID and/or a slug so it would be different from the old one. The only thing I can think of is that there is a problem … Read more
ok – got this working with a walker in the end; (added a custom directors link to the menu) class Director_nav_links extends Walker_Nav_Menu { function start_el(&$output, $item, $depth, $args) { global $wp_query; $indent = ( $depth ) ? str_repeat( “\t”, $depth ) : ”; $class_names = $value=””; $classes = empty( $item->classes ) ? array() : … Read more
You can simply put The code in the php file in your theme.If you use twentyeleven theme open content-single.php, find the line <h1 class=”entry-title”><?php the_title(); ?></h1> And after it put your divs and top menu. Another option is to create a widget where you could easily update the html code. Instead your divs, below this … Read more
I would guess that some javascript is running on that page (in your theme) and preventing the default action of click event. Disable all plugins you have and then theme to narrow down the cause. If disabling a plugin or reverting the theme fixes it, then you have found your culprit. Also look for javascript … Read more