Add a menu metabox to post edit page

I’m not sure I understand the whole process. Why not build the navigation at the same time you parse out the content with the shortcodes? You know how many tabs there are and what content they’re connected to, I don’t see why widgets or wp menus need to be involved. Maybe if you showed us … Read more

Problems in creating a static site with WordPress

First, check your permalink settings: Dashboard -> Settings -> Permalinks Second, check to ensure you don’t somehow have a Page slug conflict. Go to Dashboard -> Pages, click the “Trash” tab, and ensure you don’t have any Pages in the trash (if so, delete them if you don’t need them). Third, check the page-slug for … Read more

Do not hyperlink menu heading

If this is for a dynamic menu you can use a ‘Custom Links’ and use a # for the URL then click add to menu. Once it’s in the menu, remove the # from the URL in the menu and save the menu. It’ll then be a text only no link item. (you can then … Read more

removing the list container from the custom menu output

The container argument controls what is one level higher – around <ul>. What you need is items_wrap argument that controls the list wrap and defaults to <ul id=”%1$s” class=”%2$s”>%3$s</ul>. Removing the ul wrap in Codex gives following example: wp_nav_menu( array( ‘items_wrap’ => ‘%3$s’ ) );

plus sign not working in widget “Header: Nav Menu”

I’m not sure what plus sign you mean. Could you add a screen shot? Adding item to a menu needs two action: 1. Mark the checkbox, 2. Click Add to Menu. View full size If you have trouble on the widget page, try to activate the accessibility mode available in the screen options.

Different Menus based on Category Page

Outlining your concept As far as i can see, you want to do the following: Check if there is more than one page ($GLOBALS[‘wp_query’]->max_num_pages > 1) If TRUE, add your nav menus The concept fails in some points (more explanation at the end of the answer): You’re questioning too early if there’s more than one … Read more

Second Level Menu

example: <?php //get top level page ID; $top = ( $post->post_parent ) ? array_pop(get_post_ancestors($post->ID)) : $post->ID; echo ‘<ul>’; wp_list_pages(‘title_li=&child_of=”.$top.”&depth=1’); echo ‘</ul>’; ?>