• Resolved scowby

    (@scowby)


    Hi, this plugin looks just like what I need.

    However it is not specific enough (I do not think) on where to place the shortcode in the header. Also, the standard filename (for stock wordpress install) is ‘header.php’

    Appearance >> Theme Editor >> header.php

    I added it just after the head-tag:

    <?php wp_head(); ?>
    </head>
    <?php echo do_shortcode(‘[multilevel_navigation_menu]’); ?>
    <body <?php body_class(); ?>>
    <?php wp_body_open(); ?>

    At this point the menu shows up at the very top of the page (is fine). You can place it lower in the page by putting it nearer the bottom of header.php.

    <?php echo do_shortcode(‘[multilevel_navigation_menu]’); ?>
    <div class=”site-content-contain”>
    <div id=”content” class=”site-content”>

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter scowby

    (@scowby)

    At this point the header shows. I am not able to get drop-down menu items to show. I am in the “Menu” editor and I have tried two things:

    1) placing “parent” pages (pages that have “child” pages) into the menu
    2) placing plain (no “child” pages) pages into the menu

    I have not gotten the ‘sub-menu’ items to show up.

    How do I assign sub-menu items so that they cascade down the page?

    Many thanks!
    -= The Space Cowboy =-

    Thread Starter scowby

    (@scowby)

    I found a solution:

    Put the shortcode here:

    <div class=”site-content-contain”>
    <?php echo do_shortcode(‘[multilevel_navigation_menu]’); ?>
    <div id=”content” class=”site-content”>

    Then, also “disable” the checkbox next to “Top Menu” in your “Menus” editor. Otherwise it will show up twice (once you put the shortcode in the right place).

    If the shortcode is in the wrong place then you may see the menu but not the sub-menu items.

    Hope this helps anyone else clarify what to do here.

    Plugin Author Laxman Prajapati

    (@laxman-prajapati)

    Hello @scowby

    Good morning.
    Sorry for missed your message.

    Yes you are right, we need to “disable” the checkbox to “Top Menu” in your “Menus” editor.

    But the sub-menu will working anywere. Like where you have added the menu.
    As of now facing any issue with this?

    Thanks.
    Laxman Prajapati

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Not specific – where to put the short code’ is closed to new replies.