WordPress.org

Forums

Adding more menus to the twenty fourteen theme? (8 posts)

  1. HoppingTango
    Member
    Posted 9 months ago #

    I know that 2014 supports two menu items. Issue is, I need more than that (at least three total). Can this be done, without completely recoding the site? I see the listings under the style.css file. Or do I make changes to the rtl.css file? Ideally I'd like additional levels of menus. Such as having one (or two) primary, with at least a couple of secondary per each of those and maybe a few tertiary menus off of those (each). IMO, it would make for easy navigation on sites using WP and this theme.

    Otherwise, any recommendations on a theme with that functionality already in place??

  2. stephencottontail
    Member
    Posted 9 months ago #

    Twenty Fourteen supports two menu locations, but each menu location can contain multiple items, with submenus and submenus of submenus as well. Check out Appearance Menus Screen for more details on creating navigation menus.

  3. WP Sites - Brad Dalton
    Member
    Posted 9 months ago #

    There's 2 steps:

    1. Register the menu in your functions file

    http://codex.wordpress.org/Function_Reference/register_nav_menu

    register_nav_menu( 'third-menu', 'Third Menu' );

    2. Display it in your theme

    http://codex.wordpress.org/Function_Reference/wp_nav_menu

    <?php wp_nav_menu( array('theme_location' => 'third-menu' )); ?>

    Source http://wpsites.net/web-design/2-ways-to-add-new-navigation-menus-in-any-wordpress-theme/

  4. HoppingTango
    Member
    Posted 9 months ago #

    This might be a stupid question... How do I make pages link to the menu sub-categories?

    If you look at the page (http://elmstreetcrafts.com/) I have two pages right now. I'd like to have the two menu items go to the pages that match. Plus be able to allocate more pages into either category in the future.

    Again, if there's a theme that does this better/easier, I'm all ears... Well, I'm mostly skull but that's for a different thread.

  5. stephencottontail
    Member
    Posted 9 months ago #

    If you look on the left side of the panel, you'll see an accordion pane with three headings: "Pages", "Links", and "Categories". Click on "Pages" and you'll see a list of all your pages. Click on the pages you'd like to add to the menu and you'll see a checkmark next to each. Click on "Add to Menu", and then you'll see the pages you chose in the righthand panel labeled "Menu Structure". Click "Save Menu" to finish. The site I linked before has screenshots and more detailed instructions.

  6. HoppingTango
    Member
    Posted 9 months ago #

    Is there any pages/sheets that show what parts of the pages are controlled by which lines on the style.css file?? Also, for some odd reason the site displays pretty much correct on either FireFox (latest release) or IE (11). Chrome doesn't use the adjusted width settings I made...

    It's only been about 8-10 years since I did any web site coding, so to say I'm rusty is a severe understatement.

  7. HoppingTango
    Member
    Posted 9 months ago #

    BTW, stephencottontail... Very helpful replies so far... I do appreciate it.

  8. stephencottontail
    Member
    Posted 9 months ago #

    You can use Firebug (or a similar web inspecting tool) to see what CSS is being applied to your site. When you have Firebug installed, you simply right-click on any part of your site and choose "Inspect Element" (or some menu option like that). Firebug will show you exactly what CSS rules are being applied to that particular element.

    As for your Chrome issue, I'm afraid I don't know enough about the browser to help. Sorry.

Reply

You must log in to post.

About this Topic