How to create a Footer menu

5
203 followers
Updated

I was struggle by how to insert a footer menu in my theme of wordpress, i was looking a plug-in , but anyone could help me around the web.
So i found a code to insert through "Editor" in "Theme Functions"

Add the following code to the functions.php file for your theme:

// This theme uses wp_nav_menu() in two locations. register_nav_menus( array( 'primary' => __( 'Primary Navigation', 'twentyten' ), 'secondary' => __('Secondary Navigation', 'twentyten') ) );

Then... you can now create in Menu the "Secondary Menu"

And you will need to insert this code to display in the theme , you will insent into the footer.php

This is the code :

<nav id="footer-navigation" role="navigation">

<?php wp_nav_menu( array('menu' => 'footer' )); ?>

</nav>

You will have to create a new menu : called by preference "footer" to manage the menu to display in the footer of the theme. Remember that you can structure your footer menu

Please , any feedback to the community will be great for us ! :D
I hope to this article will be useful.

Login
Create Your Free Wealthy Affiliate Account Today!
icon
4-Steps to Success Class
icon
One Profit Ready Website
icon
Market Research & Analysis Tools
icon
Millionaire Mentorship
icon
Core “Business Start Up” Training

Recent Comments

11

Hi there, I am struggling for hours now how to create a footer. My theme is Tripitz and I have no option to create a footer. I already tried to create a footer at widgets but without success. I cannot proceed with my website if I don't get a solution. I have no idea what to do. I need some help please.

If you are experiencing issues using PHP then this might be an alternate solution:

Hello, I followed all of your steps to make my Footer menu, but I don't see any change in my website. There is not a Footer section or menu.

What could be possible missing? Or what mistake maybe I did?

I wait for your answer. Thanks you for your post!

Will be needing more info to answer this. What theme are you using, is it a pro version? Some themes require a plugin. Do you have the same theme as the one above?

Thanks, but the Footer menu is already appearing in my page.

Thanks, but the Footer menu is already appearing in my page.

I'm glad you've resolved it.

is this still current?

Hi, thank you for the info. I've just followed all the steps and the menu looks terrible, what have I done wrong?

Hi, Beto! Great Post ...I hope you can get published. I have NO idea what to tell you, but others below are already trying hard and coming up with good ideas!

I posted this comment earlier wondering why it is not showing up. I wanted to thank you for letting me know how to make a footer.

See more comments

Login
Create Your Free Wealthy Affiliate Account Today!
icon
4-Steps to Success Class
icon
One Profit Ready Website
icon
Market Research & Analysis Tools
icon
Millionaire Mentorship
icon
Core “Business Start Up” Training