How to change footer info

Hi, I have a problem with shapely theme. When I try t change footer info nothing happens and I do not know why.
I replace this function in inc/extras.php

function shapely_footer_info() {
  printf( esc_html__( 'Theme by %1$s Powered by %2$s', 'shapely' ) , '<a href="" target="_blank">Colorlib</a>', '<a href="" target="_blank">WordPress</a>');

with this one

function shapely_footer_info() {
  printf( esc_html__( 'Powered by %1$s', 'shapely' ) , '<a href="" target="_blank">sitex</a>');

When I clic to update, I am redirected to the homepage and no change are made. Where am I wrong?

Hi @odyxx,

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

You can try achieving this by using the attached custom child theme of Shapely theme that contains some custom code.

Best Regards,

Hi Movin,
I solved changing the file directly with filezilla. I don’t know why it does not work by clicking to update, but in this way it worked fine. Thanks anyway for you support

You are most welcome here :slight_smile:

Please note you are making changes in the theme files therefore you have to make these changes again after theme updation as changes made in the theme files get lost on theme updation therefore we recommend to do this using child theme as shared above.