WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Theme with TWO SEPARATE navigation bars? (9 posts)

  1. brisus
    Member
    Posted 1 year ago #

    Hi all,
    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?

  2. riversatile
    Member
    Posted 1 year ago #

    Hi,

    Try find a theme that match your need using this page :
    http://wordpress.org/extend/themes/tag-filter/

    You can fine your search with colors, columns, width, features, etc...

    I found this one :
    http://wordpress.org/extend/themes/cw-red

  3. brisus
    Member
    Posted 1 year ago #

    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.

  4. riversatile
    Member
    Posted 1 year ago #

    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 :
    http://codex.wordpress.org/Function_Reference/register_sidebar

  5. brisus
    Member
    Posted 1 year ago #

    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. :/

  6. riversatile
    Member
    Posted 1 year ago #

    What's your current theme name ?
    Is it a WordPress theme you get here http://wordpress.org/extend/plugins/ ?

  7. brisus
    Member
    Posted 1 year ago #

    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.

  8. brisus
    Member
    Posted 1 year ago #

    *Lugada - sorry about that.
    I'm going to use that as the parent, create a child theme of that and restyle the CSS.

  9. brisus
    Member
    Posted 1 year ago #

    Okay ignore that, I was doing some more things with it and it isn't working the way I want... so now, I just need a theme that I can edit and fix. (i'd make a child theme to keep settings when updated).

Topic Closed

This topic has been closed to new replies.

About this Topic