How to remove and add copyright information at the bottom of WordPress articles
1. Remove copyright information
1. Enter the management background, open the appearance-edit
2. Find "footer.php" and modify the code
3. Delete the following code:
<a href=“<?php echo esc_url( __( ‘http://wordpress.org/’, ‘twentyeleven’ ) ); ?>” title=“<?php esc_attr_e( ‘Semantic Personal Publishing Platform’, ‘twentyeleven’ ); ?>” rel=“generator”><?php printf( __( ‘Proudly powered by %s’, ‘twentyeleven’ ), ‘WordPress’ ); ?></a>
2. Add copyright information
Just add the following code at the bottom of the footer.php file. The specific content style can be customized.
<a href=“<?php echo get_option(‘home’); ?>” title=“<?php bloginfo(‘name’); ?>” rel=“generator”><?php bloginfo(‘name’); ?></a>
Note: You need to click "Update File" and then refresh your WP homepage to see the effect.
Recommended tutorial: WordPress tutorial
The above is the detailed content of How to remove and add copyright information at the bottom of WordPress articles. For more information, please follow other related articles on the PHP Chinese website!