Hello,
I have a child theme and I want to change/edit the footer info. when I insert the function
/**
* function to show the footer info, copyright information
*/
function sparkling_footer_info() {
global $sparkling_footer_info;
printf( __( 'Theme by %1$s Powered by %2$s', 'sparkling' ) , '<a href="https://colorlib.com/" target="_blank">Colorlib</a>', '<a href="http://wordpress.org/" target="_blank">WordPress</a>');
}
which I copied from extra.php file, i get the following error
Fatal error: Cannot redeclare sparkling_footer_info() (previously declared in /home/vapor/public_html/wp-content/themes/sparkling-child-3/functions.php:8) in /home/vapor/public_html/wp-content/themes/sparkling/inc/extras.php on line 211
What Am I doing wrong?