Customizing Footer content (Supreme Directory, Directory Starter and Whoop)

We recommend using the Code Snippets plugin to add PHP code.

To change the footer content of the Directory Starter, Whoop or Supreme Directory theme, use the following PHP code, and adjust as required.

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 );
    remove_action( 'dt_footer_copyright', 'whoop_copyright_text', 10 );
    add_action( 'dt_footer_copyright', '_my_custom_footer_copyright_text', 10 );
}

function _my_custom_footer_copyright_text(){
    echo '© 2020 AyeCode Ltd. All Rights Reserved.';
}
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us