badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Menu of the footer

Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #6336
    pilafa
    Participant

    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!!!

    #6511
    Sanjip Shah
    Participant

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

    #8800
    Niveditha
    Participant

    I want to add a footer menu in the child theme. Pls advice

    #8806

    hi Niveditha
    just have a look how to create the childtheme.
    https://codex.wordpress.org/Child_Themes

    #8808
    Niveditha
    Participant

    I have already created a childmenu. I’m asking for a menu to be inserted in the footer area

    #8809
    Niveditha
    Participant

    Sorry, its child theme. I have created a child theme

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.