Edit Copyright section in footer

This topic contains 2 replies, has 2 voices, and was last updated by  Timothy Cermak 5 years, 9 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #441539

    Timothy Cermak
    Full Member
    Post count: 96

    Hello i have tried adding

    add_action(‘after_setup_theme’, ‘_my_sd_footer_changes’,15);
    2
    function _my_sd_footer_changes(){
    3
    remove_action( ‘dt_footer_copyright’, ‘dt_footer_copyright_default’, 10 );
    4
    remove_action( ‘dt_footer_copyright’, ‘sd_footer_copyright_default’, 10 );
    5
    add_action( ‘dt_footer_copyright’, ‘custom_dt_footer_copyright_text’, 10 );
    6
    }
    7

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

    To my functions.php but i get an error and my page doesnt load after i add it. I am using dirtectory starter theme cle2nite.semremedy.com

    #441541

    Kor
    Moderator
    Post count: 16516

    Hi Timothy,

    Thanks for your reply. Looks like you’ve either not copied the code correctly or pasted it wrongly. Anyway, please install the “Code Snippet” plugin and try copying and pasting the code below. If the issue persists, could you please share WP admin access in private reply so that we could check on it?

    
    
    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.';
    }

    Thanks!

    #441565

    Timothy Cermak
    Full Member
    Post count: 96

    that worked Thank you

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

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

Open Support Ticket