Alanna Bailey
asked 10 years ago

Hi I need to create a second, smaller menu to also appear in the footer, but under ‘Menus’ it says my theme only supports one menu. How can I do this? I need one that is separate from the primary navigation menu, as this is a publication. Please let me know how to add one on, so they can both appear, asap. Thanks!

Alanna Bailey
replied 10 years ago

Never Mind I figured it out

2 Answers
DominicStaff
answered 10 years ago

To resolve this issue, you can open the footer.php file in the folder path “wp-content\themes\dw-focus”  Find the line 23.Add the following code:


<nav class="secondary-menu hidden-phone">
        <div class="container">
            <?php
            $params = array(
                'theme_location'  => 'secondary',
                'container'       => '',
                'menu_class'      => '',
                'depth'           => 1,
                );
            wp_nav_menu($params);
            ?>
        </div>
    </nav>

See the screenshot:  http://i.imgur.com/feIZVeh.png
— Open the functions.php file then add folloing code to the line 123

 'secondary' => __( 'secondary Menu', 'dw_focus' ),

See the screenshot:  http://i.imgur.com/rQ6vRn4.png
Hope this helps !

irfan
replied 9 years ago

can we get the css for this secondary menu

dominic Staff
replied 9 years ago

@irfan, Please send me your site for further checking.
@dazzy, I have provided this code for the DW Focus theme, I have checked your site and it not our product. If you want to style for your site, I am ready to help you as a custom work with a charge of fee is $50.
Regards,

manoharkp
answered 8 years ago

I would like to thank you for the efforts you have put in penning this site. I’m hoping to view the same high-grade content by you later on as well. In fact, your creative writing abilities has inspired me to get my own site now .and it will be very useful for my

Powered by DW Question & Answer Pro