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