1. Open the theme folder: wp-content/themes/theme name/footer.php;
2. Search to 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>
Related recommendations: "WordPress Tutorial"
3. Just delete this code. Nothing will be displayed after deletion. This is not very beautiful. You can add your own copyright. Information can be replaced with the following code:
<a href="<?php echo get_option('home'); ?>" title="<?php bloginfo('name'); ?>" rel="generator"> <?php bloginfo('name'); ?> </a>
This will replace it with your own copyright information.
The above is the detailed content of How to remove wordpress theme information. For more information, please follow other related articles on the PHP Chinese website!