• Resolved Irene Kohlen

    (@irene-kohlen)


    Hello there,
    I’m using the Freelancer theme (Generate Press) for my website https://www.ikmedia.eu. It seems that with each update the copyright line at the bottom of the home page is reset to the default text (Copyright ? 2015 · GeneratePress · WordPress). I had it changed a couple of times to a personalised copyright line, but with the latest theme update I can’t seem to find the line in the footer.php anymore.
    Thank you in advance for trying to help me with this.
    Kind regards, Irene

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey there Irene,

    Hope you’re well today!

    I’ve checked both child and parent theme and copyright text can be found in parent (generatepress) theme functions.php. You can try adding the following to your child (freelancer) theme functions.php to change the footer copyright text:

    add_action('generate_credits','my_generate_add_footer_info');
    function my_generate_add_footer_info()
    {
    	?>
    	<span class="copyright">Insert your copyright here!</span>
    	<?php
    }
    
    add_action( 'init', 'remove_old_copyright' );
    
    function remove_old_copyright(){
    remove_action('generate_copyright_line','generate_add_login_attribution');
    remove_action('generate_credits','generate_add_footer_info');
    }

    Replace dummy copyright text (Insert your copyright here!) and you should be good to go ??

    Please let me know if this helps.

    Cheers,
    Bojan

    Thread Starter Irene Kohlen

    (@irene-kohlen)

    Hi Bojan,

    You’re my new hero ?? It works! Thank you for your help!

    Glad that worked for you and thanks for the kind words ??

    Have a great day!

    Cheers,
    Bojan

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change copyright line’ is closed to new replies.