Adding Footer Info to Child Theme

Hi there again,

As mentioned in another thread I’m trying desperately to add the copyright information to a child theme so that I don’t have to change in the extras.php everytime activello is updating.

As far as I found out so far, changes in other indexes (like the inc folder) can’t be added to the child theme like to other php files and have to be added to the functions.php.

But if I add

/**
 * function to show the footer info, copyright information
 */
function activello_footer_info() {
global $activello_footer_info;
  printf( esc_html__( 'Theme by %1$s | %2$s | %3$s' ) , '<a href="https://colorlib.com" target="_blank">Colorlib</a>', '<a href="http://jessveganlifestyle.de/impressum" target="_blank">Impressum</a>', '<a href="http://jessveganlifestyle.de/datenschutz" target="_blank">Datenschutz</a>');
}

to it, the page gets broken until I delete it. That’s the code straight of my extras.php which I want to remain the same like this but just “secured” in my child theme for later updates.

Do I have to add this code somewhere else than the functions.php of my child theme?

Sorry, I just started on renewing my homepage and getting into php… as you can see…

Thanks a lot!

Hi @jessvegan,

I hope you are well today and thank you for your question.

You can achieve this by editing the custom function custom_activello_footer_info in the functions.php file of Activello theme in its child theme by referring the child theme solution shared in the following topic.

https://colorlibsupport.com/t/editing-footerheader/

Best Regards,
Movin