[resolved] Editing Attitude Footer (3 posts)

  1. jiyansara@gmail.com
    Posted 2 years ago #


    I love this theme but am just having a little trouble editing the footer info. I've created a child theme and used this text from an old forum to edit the footer:

    // Remove old copyright text
    add_action( 'init' , 'mh_remove_copy' );
    function mh_remove_copy() {
    remove_action( 'attitude_footer' , 'attitude_footer_info ', 25 );

    // Add my own copyright text
    add_action( 'attitude_footer' , 'mh_footer_info' , 25 );
    function mh_footer_info() {
    $output = '<div class="copyright">'.'Copyright © [the-year] [site-link] Powered by: SUPER MARTIANS FROM MARS! '.'</div><!-- .copyright -->';
    echo do_shortcode( $output );

    But all this does is delete the footer completely from my site. Does anyone have any advice for me? Site link is:


  2. WPyogi
    Forum Moderator
    Posted 2 years ago #

  3. jiyansara@gmail.com
    Posted 2 years ago #

    Thanks, WPyogi. I've reposted in the correct place. Would you mind having a look at it? It's at: http://wordpress.org/support/topic/editing-footer-info?replies=1

    Any help you could offer would be great.

Topic Closed

This topic has been closed to new replies.

About this Topic