WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Adding a Footer Navigation Menu Bar to Twenty Eleven (59 posts)

  1. ijmacmurray
    Member
    Posted 1 year ago #

    I want to add a horizontal menu navigational bar (similiar to the one at the top of each page) to the bottom of each page.

  2. mbrsolution
    Member
    Posted 1 year ago #

    Hello have a look at this link,

    http://wpmu.org/how-to-add-navigation-menus-to-your-wordpress-theme/

    I hope this helps.

    Kind regards

  3. marinaa
    Member
    Posted 1 year ago #

    Maybe this thread will help

  4. radhika
    Member
    Posted 1 year ago #

    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.]

  5. esmi
    Forum Moderator
    Posted 1 year ago #

    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.

  6. ijmacmurray
    Member
    Posted 1 year ago #

    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.

  7. mbrsolution
    Member
    Posted 1 year ago #

    Have a look at this easy tutorial...

    http://www.ostraining.com/blog/wordpress/child-theme/

    It will help you.

    Kind regards

  8. ijmacmurray
    Member
    Posted 1 year ago #

    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.

  9. ijmacmurray
    Member
    Posted 1 year ago #

    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?

  10. mbrsolution
    Member
    Posted 1 year ago #

    Yes you will add some function to the child theme. Have a look at this link...

    http://codex.wordpress.org/Child_Themes

    Kind regards

  11. ijmacmurray
    Member
    Posted 1 year ago #

    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

  12. esmi
    Forum Moderator
    Posted 1 year ago #

  13. ijmacmurray
    Member
    Posted 1 year ago #

    I've tried everything. I have all the appropriate files in the file manager
    wp-content
    themes
    twentyeleven
    twentyeleven-child

    Here is my style.css
    `/*
    Theme Name: Twenty Eleven Child
    Version: 1.0
    Theme URI: http://www2.mgpi.biz
    Description: Child theme for Twenty Eleven
    Author: Joanne MacMurray
    Author URI: http://www.mgpi.biz
    Template: twentyeleven
    */
    @impot url(..twentyeleven/stlye.css);'

    Where is my mistake!!! I'm using Dreamweaver for editing my style.css and Fetch to upload to my theme child.

  14. mbrsolution
    Member
    Posted 1 year ago #

    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.

    Kind regards

  15. ijmacmurray
    Member
    Posted 1 year ago #

    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.

  16. mbrsolution
    Member
    Posted 1 year ago #

    Okay, so you uploaded the zip folder child theme. Then you say when you go to check the theme, it is not there. What version of WordPress are you running?

  17. ijmacmurray
    Member
    Posted 1 year ago #

    I just want to give up but I won't. I've successfully made so many changes to the native site before I realized I should have made a child theme, stupid me.
    I don't want to make any further changes until this is settled. Have you looked at my information above and noticed anything that was out of place. No one seemed to have noticed I made two mistakes in the @import url(../twentyeleven/style.css); but I caught them early. Even after the corrections, it still doesn't work. So I tried esmi's suggestion - that didn't work. I don't know where to go from here.

  18. ijmacmurray
    Member
    Posted 1 year ago #

    I'm running the latest version 3.4.1. The transfer was just done a couple of days ago. I didn't upload the zip folder but the unzipped style.css from her folder.

  19. ijmacmurray
    Member
    Posted 1 year ago #

    The file from esmi never came in as zipped.

  20. mbrsolution
    Member
    Posted 1 year ago #

    Upload the whole child zip folder and then activate it.

    But before you do that, make sure that you have deleted any child themes from your WordPress Appearance >> Themes .......... just in case any of them are corrupted.

    Also make sure that you have a current BACKUP just in case anything happens during this process.

    Let me know how you go......

  21. ijmacmurray
    Member
    Posted 1 year ago #

    I did upload the complete file and it was not zipped. It did include several files functions.php, pageofposts.php, index.php, screen hot.png, style.css. I tried uploading all the files and I tried just uploading the style.css. Neither worked.
    There are no child themes on my WordPress Appearance>>Themes to delete.
    I have a backup.

  22. mbrsolution
    Member
    Posted 1 year ago #

    Okay download the zip file again http://quirm.net/themes/twenty-eleven-child/

    Upload that zip file and install. This is what I did, I simply downloaded the file to my computer and then uploaded the same zip file to my WordPress and it worked for me.

    Try that again please.

    Kind regards

  23. ijmacmurray
    Member
    Posted 1 year ago #

    Okay do you just want me to upload the style.css file in the folder or all the files?

  24. ijmacmurray
    Member
    Posted 1 year ago #

    And it's not zipped.

  25. mbrsolution
    Member
    Posted 1 year ago #

    Please have a look at this link image

    Once you download the zip folder then upload that zip folder to your WordPress theme.

    Kind regards

  26. ijmacmurray
    Member
    Posted 1 year ago #

    Just so you understand me clearly. I clicked your link above and clicked on download Twenty Eleven Child. A folder was downloaded that includes these files: functions.php, pageofposts.php, index.php, screen hot.png, style.css. I used Fetch to download the style.css to my empty twenty eleven-child folder.
    Went to my dashboard>Appearance>Themes and no Twenty Eleven Child theme is there to activate.

  27. ijmacmurray
    Member
    Posted 1 year ago #

    When I click on the Twenty eleven download child theme - it goes straight to my downloads just like everything else I download. There is no screen that comes up like your image indicates "You have chosen to open twenty eleven-child.zip.
    The file just goes to my download folder like all downloads do.

  28. mbrsolution
    Member
    Posted 1 year ago #

    Once the folder is downloaded like you mentioned above, don't open or do anything to that folder.

    Simply upload that folder to your WordPress Theme through the normal process of uploading a theme......

    WordPress >> Appearance >> Themes >> Install Themes >> Upload >> Browse for that folder >> Install Now...>> Activate

    Try that and let me know how you go..

    Kind regards

  29. mbrsolution
    Member
    Posted 1 year ago #

    There is no screen that comes up like your image indicates "You have chosen to open twenty eleven-child.zip.

    It depends on the browser you use. All browsers do the same job in different ways.

    Kind regards

  30. ijmacmurray
    Member
    Posted 1 year ago #

    First, I never tried installing that route but I have now. Since it wouldn't allow me to upload the entire folder but only a single file, I uploaded the style.css file. Here is the message I got:
    Unpacking the package...
    The package could not be installed> PCLZIP_ERR_BAD_FORMAT (-10): Unable to find End of Central Dir Record signature

Topic Closed

This topic has been closed to new replies.

About this Topic