Tagged: Footer menu
- This topic has 5 replies, 4 voices, and was last updated 10 years, 1 month ago by Niveditha.
-
AuthorPosts
-
January 14, 2014 at 4:44 pm #6336pilafaParticipant
Hi,
I changed the content of the footer by editing functions.php:
/* Customized text in the footer */ // Remove old copyright text add_action( 'init' , 'mh_remove_copy' , 15 ); function mh_remove_copy() { remove_action( 'attitude_footer', 'attitude_footer_info', 30 ); } // Add my own copyright text add_action( 'attitude_footer' , 'mh_footer_info' , 30 ); function mh_footer_info() { $output = '<div class="copyright">'.'Copyright © [the-year] [site-link]'.'</div><!-- .copyright -->'; $output2 = 'contact: [email protected]' ; echo do_shortcode( $output ); echo do_shortcode( $output2 ); wp_nav_menu(array('menu' => 'footer', 'container_id' => 'footer-menu')); }
All the info is there but not well aligned. I would like the copyright and the contact email in a “column” at the left and the vertical menu in another column at the right.
My page is idrasimulation.com, but you will see it without the menu (without: wp_nav_menu(array(‘menu’ => ‘footer’, ‘container_id’ => ‘footer-menu’));)
Thanks!!!
January 20, 2014 at 5:20 am #6511Sanjip ShahParticipant@pilafa About the navigation menu, you will also need to register the menu. Please view this link http://codex.wordpress.org/Function_Reference/register_nav_menus. In this case you may also need to hire a developer as this can be a little difficult to adjust the coding and the related css.
March 18, 2014 at 2:14 am #8800NivedithaParticipantI want to add a footer menu in the child theme. Pls advice
March 18, 2014 at 5:27 am #8806Theme Horse Support TeamKeymasterhi Niveditha
just have a look how to create the childtheme.
https://codex.wordpress.org/Child_ThemesMarch 18, 2014 at 5:30 am #8808NivedithaParticipantI have already created a childmenu. I’m asking for a menu to be inserted in the footer area
March 18, 2014 at 5:31 am #8809NivedithaParticipantSorry, its child theme. I have created a child theme
-
AuthorPosts
- You must be logged in to reply to this topic.