Wordpress template copyright deletion method:
1. Open the theme folder: wp-content/themes/theme name/footer.php;
2. Search and find the following code:
<a href="<?php echo esc_url( __( 'http://wordpress.org/', '主题名称' ) ); ?> " title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentyeleven' ); ?> " rel="generator"><?php printf( __( 'Proudly powered by %s', '主题名称' ), 'WordPress' ); ?> </a>
3. Just delete this code. Nothing will be displayed after deletion. This is not very beautiful. You can add your own copyright information and replace it with the following code. :
<a href="<?php echo get_option('home'); ?>" title="<?php bloginfo('name'); ?> " rel="generator"><?php bloginfo('name'); ?></a> 这样就换成了自己的版权信息了。
For more wordpress related technical articles, please visit the wordpress tutorial column to learn!
The above is the detailed content of How to delete WordPress theme template copyright. For more information, please follow other related articles on the PHP Chinese website!