How can I disable sorting/dragging of a menu item in the custom menu admin?

The following does the trick: add_action( ‘admin_footer-nav-menus.php’, ‘block_sortables_wpse_90610’ ); function block_sortables_wpse_90610() { ?> <script type=”text/javascript”> jQuery(document).ready(function($) { $(“dt.menu-item-handle”).sortable({ disabled: false }); }); </script> <?php } This also works: sortable(false). Docs: http://api.jqueryui.com/sortable/#option-disabled

Display all submenus

Ok, the problem in my solution was the use of $menu_item->ID instead of $menu_item->object_id. So the full correct logic is like so: function print_sub_menus() { global $post; // get current page $post_id = $post ? $post->ID : -1; $has_post_parent = $post && $post->post_parent; $top = $has_post_parent ? array_pop( get_post_ancestors($post_id) ) : $post_id; // get all … Read more

WordPress Navigation

You should hook it like this : function customwidget_init() { $args = array( ‘name’ => __( ‘Main Navigation’, ‘theme_text_domain’ ), ‘id’ => ‘sidebar-navigation’, ‘description’ => ‘Main Navigation Container’, ‘class’ => ”, ‘before_widget’ => ‘<div>’, ‘after_widget’ => ‘</div>’, ‘before_title’ => ‘<h2 class=”widgettitle”>’, ‘after_title’ => ‘</h2>’ ); register_sidebar( $args ); } add_action( ‘widgets_init’, ‘customwidget_init’); see Codex description

WordPress Flyout Menus

also got UberMenu from code canyon that works perfect for the top menu, I can just use the conditional widgets on the right.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)