[Resolved] Theme with TWO SEPARATE navigation bars?
I have a client that likes this website (http://www.magnablend.com/) and wants to have a top horizontal menu and then a completely separate side vertical menu (that includes submenus as well).
Here’s the fun part for me–I have to use a created theme and style it with a child theme. I do not have the capabilities to code a theme myself.
Can someone point me in a direction to a theme that is similar to that webpage with the menus? or tell me how I can possibly do it myself in a child theme?
Hi, I’ve tried that and not had much luck with two separate nav bars. I can’t have the pages I create all show up in the top one or all in the vertical one. That’s my issues. I am assuming I would have to do something with excluding pages from the top one somehow and then creating a custom menu on the side?
If I can do that and have a place to put a logo–I’m good to go.
You can do this yourself using widgets.
But for that, you have to create additional widget places in your theme template files.
For example, you want a page menu at the top :
Put this kind of code in the Header (not in the <HEAD>…</HEAD>) of your PHP template :
<div id="page-menu"> <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar("page-menu") ) : ?> <div class="boxcontent"> This widget is not configured </div> <?php endif; ?> </div>
Then, in your Function.php file, put this code accordingly to the dynamic_sidebar name (here it’s “page-menu”) :
if ( function_exists('register_sidebar') ) register_sidebar(array( 'name' => 'page-menu', 'before_widget' => '<div class="boxcontent">', 'after_widget' => '</div>', 'before_title' => '<h3>', 'after_title' => '</h3>', ));
Finally, go to your Wordperss widget dashboard, you should see the dynamic side bar called “page-menu” ! Then you can put eveything you want (predefined widget, text/html widget, etc…).
That’s is !
Here is the CODEX source for “register_sidebar” function :
Well, I can understand how to put a custom menu in a widget, which is what I have right now, but didn’ tknow if there were any themes where they have a horizontal and vertical menu in place that both allow pop out submenus?
I’m just at a loss right now b/c I’m not a php developer. :/
What’s your current theme name ?
Is it a WordPress theme you get here http://wordpress.org/extend/plugins/ ?
The current theme that I’m going to manipulate is going to be a child theme of Lugana Theme if it is doable. I’m not particularly set on a theme unless I can find one that offers better flexibility for menus and such.
*Lugada – sorry about that.
I’m going to use that as the parent, create a child theme of that and restyle the CSS.
- The topic ‘[Resolved] Theme with TWO SEPARATE navigation bars?’ is closed to new replies.