Edit footer

Hi,
How do I edit the following line
"Proudly powered by WordPress | Theme: Sydney by aThemes." to my own copyright note.

Please include a screenshot to edit the footer.php

Thanks.

Hello @bigredtomatomedia,

Please note that there is an option in Sydney Pro theme, which will allow you to change footer credits very easily.

Please go to your public_html/wp-content/themes/sydney folder via SFTP or cPanel, open footer.php file with text editor and find this code:

<div class="site-info container">
<?php if ( get_theme_mod('footer_credits') == '') : ?>
<a href="<?php echo esc_url( __( 'http://wordpress.org/', 'sydney' ) ); ?>"><?php printf( __( 'Proudly powered by %s', 'sydney' ), 'WordPress' ); ?></a>
<span class="sep"> | </span>
<?php printf( __( 'Theme: %2$s by %1$s.', 'sydney' ), 'aThemes', '<a href="https://athemes.com/theme/sydney" rel="designer">Sydney</a>' ); ?>
<?php else : ?>
<?php echo get_theme_mod('footer_credits'); ?>
<?php endif; ?>
</div><!-- .site-info -->

…then replace it with something like that:

<div class="site-info container">
<p>Changed text</p>
</div><!-- .site-info -->

Just replace Changed text with desired text or link.

Also please note that you have to create a child theme and override footer.php to prevent your changes to be rewritten after theme update.

Kind Regards, Roman.

Hi Roman,

I did upload a child theme. But how do I override footer.php in child theme.
Thanks.

Hello @bigredtomatomedia,

Just copy modified footer.php file to your child theme folder.

Please feel free to ask any other questions that you might have.

Kind Regards, Roman.

Hi,

Solved my problem!

Thank you.

You are welcome @bigredtomatomedia!

And have a nice day :slight_smile:

Kind Regards, Roman.