• okay…I’m a total novice…but I did manage to create a cool custom header…now I am trying to customize the footer and I’ve been stuck for hours trying to add simple ‘pages’ for privacy policy…’terms of use’…that kind of stuff. I do not want these pages to show in the header but every page I create seems to show up there. Any help would be appreciated.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Chances are, your theme is set up to show pages as the menu in the header. Without access to the theme and a link to your site, there is not much anyone can do to help.

    I am trying to do the same thing-add a footer that has lists of pages that are not in the top menu. can i copy .php code from another template that has the footer I want and paste it into my footer?? or will that cause a lot of problems? and how would you create a page that wouldn’t show up in the header menu??

    First of all its recommended that you create child theme so that any changes you make will not be effected if the theme is updated

    You can add a secondary menu in twentyten theme make the changes in child theme

    You need to go functions.php

    and look for
    // This theme uses wp_nav_menu() in one location.
    register_nav_menus( array(
    ‘primary’ => __( ‘Primary Navigation’, ‘twentyten’ ),
    ) );

    on the next line add

    ‘secondary’ => __( ‘Secondary Navigation’, ‘twentyten’ ),

    so you should have

    // This theme uses wp_nav_menu() in one location.
    register_nav_menus( array(
    ‘primary’ => __( ‘Primary Navigation’, ‘twentyten’ ),
    ‘secondary’ => __( ‘Secondary Navigation’, ‘twentyten’ ),
    ) );

    and save

    now if you in menu you should have primary and secondary

    create a another menu for footer and add what pages you want there.

    Add this in your footer to display the menu
    <?php wp_nav_menu( array( ‘container_class’ => ‘menu-header’, ‘theme_location’ => ‘secondary’ ) ); ?>

    Or you can use the custom menu widget and put it in your footer

    The line of code that govpatel gives produces the following error: “Parse error: syntax error, unexpected ‘/’ in /homepages/8/d350938527/htdocs/wp-content/themes/twentyten/functions.php on line 95”

    The footer widgets in Twenty Ten Theme DO NOT WORK, other wise that would be easy.

    @toddsdonald

    The footer widgets in Twenty Ten Theme DO NOT WORK

    can you drag widgets into the footer widget areas?
    ‘dashboard’ ‘appearance’ ‘widgets’
    and are they saved then when you go back?

    did you make any edits to functions.php and/or sidebar-footer.php of your theme?

    if so, you could paste the code of each of these files into a http://wordpress.pastebin.com/ each and post the two links here.

    a link to your site might also help.

    Thanks for the reply alchymyth.

    After much, much, much fooling around with this, I finally got the foru widgets at the bottom to work.

    The problem I had, was that I have a Plugin called WPSupercache. If this plugin is enabled, (even installed but deactivated or even deleted), its necessary to make sure the plugin wpsupercache is installed, activated, then go to the “Tester” section of wpsupercache and scroll to the bottom and click the button that reads “CLEAR CACHE”.

    Then, clear the browser cache and view the page, it should look fine.

    The downside to the widgets, (now that they are working), is that because there are 4 possible widgets, they are arranged horizontally and are roughly 250 px wide each.

    No matter what, you get square widgets about that size. While the textual navigation I wanted does show up, its arranged vertically – not the standard horizontal / centered / page wide style that is common.

    Thanks for all your help. At this point I’m just happy they are working.

    The line of code that govpatel gives produces the following error: “Parse error: syntax error, unexpected ‘/’ in /homepages/8/d350938527/htdocs/wp-content/themes/twentyten/functions.php on line 95”

    The footer widgets in Twenty Ten Theme DO NOT WORK, other wise that would be easy.

    I just added same line in my test site functions.php and I did not get any error
    'secondary' => __( 'Secondary Navigation', 'twentyten' ),

    Recheck if you are adding exactly as I have as even missing ‘ will give the error.

    saeedqs

    (@saeedqs)

    govpatel is right bec i used same code
    thanku govpatel

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘customizing the footer in 2010 theme…adding page links’ is closed to new replies.