Edit Footer Copyright

This topic contains 3 replies, has 3 voices, and was last updated by  Chauntelle Popp 4 years, 1 month ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #535754

    Nick Strøger
    Full Member
    Post count: 31

    Hi guys,

    I am trying to edit the footer text.

    As I read here

    https://wpgeodirectory.com/support/topic/v2-help-with-copyright-footer-getting-error-using-snip-using-supreme-theme/

    and here

    https://wpgeodirectory.com/docs/faqs/how-do-i-change-the-footer-text-in-supreme/

    the following piece of code should allow for changes when added to the functions.php:

    add_action(‘after_setup_theme’, ‘_my_sd_footer_changes’,15);
    function _my_sd_footer_changes(){
    remove_action( ‘dt_footer_copyright’, ‘dt_footer_copyright_default’, 10 );
    remove_action( ‘dt_footer_copyright’, ‘sd_footer_copyright_default’, 10 );
    add_action( ‘dt_footer_copyright’, ‘custom_dt_footer_copyright_text’, 10 );
    }

    function custom_dt_footer_copyright_text(){
    echo ‘© 2018 Supreme Theme LLC. All Rights Reserved.’;
    }

    However, when added, it always breaks the site. So I would appreciate your help in figuring out, why that is.

    Kind regards,

    Nick

    #535756

    Kor
    Moderator
    Post count: 16516

    Hi Nick,

    Thanks for your post. Try this code instead https://wpgeodirectory.com/docs-v2/themes/directory-starter/#footer .

    #535757

    Nick Strøger
    Full Member
    Post count: 31

    Hi Kor,

    Thanks a lot for the very quick reply.

    That solved the issue.

    Thank you.

    Kind regards,

    Nick

    #536776

    Chauntelle Popp
    Expired Member
    Post count: 1

    A note on this – if you copy and paste the code this post linked to, be SURE to remove smart quotes from the code. Not sure what on my comp was replacing ‘ with smart quotes but smart quotes will stop it from working. Thanks!

Viewing 4 posts - 1 through 4 (of 4 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket