[resolved] Add credits in "copyright" in footer (4 posts)

  1. christinas
    Posted 2 years ago #

    I would like to add some additional text into the footer - copyright- section.

    Which file do I edit and where?

    (BTW: I cannot find any copyright-info in the functions.php-file. read a thread where this was the solution)

    I use a childtheme.

  2. jbraguez
    Posted 2 years ago #

    this was already discuss in

    It's easy:
    just make a new funstions.php in your child theme and put this code
    and make the changes that you wish.

    // 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] Powered by: SUPER MARTIANS FROM MARS! '.'</div><!-- .copyright -->';
       echo do_shortcode( $output );
  3. christinas
    Posted 2 years ago #

    Thank you but difnt work. the page just went blank.
    And no info on copyright in that file to begin with as well.

  4. christinas
    Posted 2 years ago #

    I resolved it.

    In your child theme
    1. Add links in attitude-shortcodes.php found in library - shortcodes
    2. Edit footer-extentions.php found in library - structure

    Voila :)

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic