Hello have a look at this link,
I hope this helps.
you have to add this code in footer.php template of your theme.
<?php wp_nav_menu( array( 'menu' => 'menu-footer', 'theme_location' => 'secondary' ) ); ?>
And you will have to do some styling for horizontal menu bar in style.css template.
Follow this link for the navigation.
[Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your code may now have been permanently damaged/corrupted by the forum’s parser.]
Do not edit the Twenty Eleven theme. It is the default WordPress theme and having access to an unedited version of the theme is vital when dealing with a range of site issues. First create a child theme for your changes.
Thanks esmi. I just realized that everyone is talking about child themes and I’n now attempting to do that. I followed the instructions but can’t seem to activate the child theme now that it’s loaded. I went to dashboard>Appearances>themes but don’t see the child theme – dah – what now.
Have a look at this easy tutorial…
It will help you.
I got the child theme installed. I think maybe it was there from the first try but what I missed was:
When I went to the Manage theme page it was already at the top of the page and I missed that the title was changed from the Twenty Eleven theme to the Twenty Eleven Child them. I didn’t have to activated it – it was already there.
Thanks to everyone for your help.
Now to get back to the horizontal footer menu bar. If I start going into the footer.php template does this also have to be a child function?
Yes you will add some function to the child theme. Have a look at this link…
Oh boy, after so many tries, I got so excited that my child theme showed up in the Manage Theme page that I didn’t check to see how it displayed. It appears the site now has no Twenty Eleven formatting despite that I included the suggested
@import url(../twentyeleven/syle.css);. The content is there but no styles.
Help, I feel like such a doob
I’ve tried everything. I have all the appropriate files in the file manager
Here is my style.css
Theme Name: Twenty Eleven Child
Theme URI: http://www2.mgpi.biz
Description: Child theme for Twenty Eleven
Author: Joanne MacMurray
Author URI: http://www.mgpi.biz
Where is my mistake!!! I’m using Dreamweaver for editing my style.css and Fetch to upload to my theme child.
I did a test just for this purpose.
I have installed Twenty Eleven theme on my test site. I then downloaded the child theme as @esmi suggested above. I went into my admin panel uploaded my child theme and activated it without any problems and it works. I did not even touch the code. If you do the same then it should work unless you have made other changes.
I did exactly that no changes were made. I downloaded the file exactly as she gave it to me still no results. When I go to the Manage Themes page it’s not there.
Thanks for trying to help but obviously I need more help.
- The topic ‘Adding a Footer Navigation Menu Bar to Twenty Eleven’ is closed to new replies.