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.

Make three menus with three category levels

wp_list_categories(); will by default give you a hierarchically nested list of all your categories. Hiding and showing that list, or parts of it, is just a matter of CSS. That sounds like what you need. For example echo ‘<ul class=”my-cats-list”>’,wp_list_categories(),'</ul>’; // style rules; put in your theme’s style.css .cat-item { padding-left:5px; } .children { display:none; … Read more

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