Add a footer menu
-
Hi, Does anyone know how I can add a footer menu. I have tried to edit the functions.php file in my child theme but it just make sthe site go blank and not display anything.
I found a tutorial to add this to my footer.php
<div class=”bottomMenu”>
<?php wp_nav_menu( array( ‘theme_location’ => ‘secondary’ ) ); ?>
</div>and then add this
// This theme uses wp_nav_menu() in two locations.
register_nav_menus( array(
‘primary’ => __( ‘Primary Navigation’, ‘twentyten’ ),
‘secondary’ => __(‘Secondary Navigation’, ‘twentyten’)
) );So I did that and I am using the adamos them so I changed twentyten in the 2 instances above to adamos. When I copy the functions.php file back to my child them, the site is blank.
Does anyone know why?
Thanks treis
- The topic ‘Add a footer menu’ is closed to new replies.