Support » Fixing WordPress » [Theme: Atahualpa] Add Custom Menu to Footer

  • I have created a custom menu which I would like to place in the footer. The menu name is: Footer Menu

    What code do I need to add to footer template to call this menu? I would like the menu to dynamically update anytime there are changes to this Custom Menu. Any help would be appreciated.

    Thank you.

    http://wordpress.org/extend/themes/atahualpa/

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hi keigh,

    In your Atahualpa Theme Options go to the Style & Edit FOOTER area. In the Footer: Content area paste this code into the text box:

    <?php bfa_widget_area(‘name=Footer widget area’); ?>

    You’ll have to refresh your Appearance > Widgets screen a few times, but eventually you will see a new widget area named Footer widget area. Drag a Custom Menu widget into that new widget area and select your Footer Menu. Refresh your site a few times and you should see your new Footer Menu.

    Hope this helps!

    This worked great! I want to style it so it lays out in a line. Do I add something like this to stylesheet – with appropriate style info in each section or is there another way?

    #Footer widget area {
    }
    #Footer widget area li{
    }
    #Footer widget area li a{
    }
    #Footer widget area li a:hover {
    }

    This is what I did….which didn’t work:
    `[CSS moderated as per the Forum Rules. Please just post a link to your site.]

    Suggestions to style this? You can find it at:
    http:keighdesign.com/staging/PhotoSite

    esmi

    (@esmi)

    Forum Moderator

    You would be better off asking this question on the theme’s dedicated forum: http://forum.bytesforall.com/

    ok thanks.

    You can add a custom menu widget to the footer:

    A) Create a Custom Menu. (This could be all posts, all pages, some of each etc.)
    B) We need to add some code for a custom widget to footer.php. Example:
    <?php bfa_widget_area('name=footer1'); ?>
    This creates the custom widget area ‘footer1’ (name needs to unique). Place it after ‘<==footer==>’ in footer.php (move up or down in this area for your desired effect. (All the code present at <==footer==> is not mandatory :-).
    C) Load your site a few times to force the widget update.
    D) In Admin panel> Appearance >Widgets, you should now see the widget area (on right lower).
    E) Expand it, then drag the Custom Menu Widget to it, and configure.

    Note: You can wrap the custom footer widget code in elements such as a table or divs and apply style.
    (See my header area which is a table of three columns and 1 row, with each cell having a custom widget area, 2 text widgets and the meta widget). The footer (at the link) is also a widget.

    One more thought: note that the upper left widget is a text widget (with a list of links).

    Also, see the notes in the ATO> Style Widgets area for CSS.

    Also note that my site linked to runs great when WordPress.Org is not the referer (very slow to load from here, not sure why, some link scanning software?).

    [Moderator] ?

    I tried putting <?php bfa_widget_area(‘name=Footer1’); ?> in my footer for parament theme but it is not showing up. I even tried different locations in the footer.php file. Parament has its own footer.php file separate to the stylesheet (Style.css).

    Any idea what I might be doing wrong? I’ve already created the custom menu and labelled it Footer1.

    <?php bfa_widget_area('name=Footer1'); ?>

    This code is relavent to Atahualpa only (it calls the theme function “bfa_widget_area” which I am sure does not exist in other themes (that are not by bytes for all)

    See this on adding a custom widget area anywhere in your theme.

    Thanks so much for your reply Seacoast Web Design. I shall follow the information at the link. Appreciate your time in replying.

    Stay well! Eileen.

    htmlwoman

    (@htmlwoman)

    Just added the Footer to the widgets area and added the text widget to the footer and pasted the html for all the text links that I needed in the footer. Worked really well. Thanks for the info on getting the footer area to show up in the Widgets.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘[Theme: Atahualpa] Add Custom Menu to Footer’ is closed to new replies.