How to remove wordpress theme link
How to remove wordpress theme link:
First open the theme folder: wp-content/themes/theme name/footer.php;
Then 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>
Delete this code, delete it Nothing will be displayed later, which 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>
This will replace it with your own copyright information.
Related introduction:
WordPress is a blogging platform developed using PHP language. Users can set up their own website on a server that supports PHP and MySQL databases. You can also use WordPress as a content management system (CMS).
For more WordPress technical articles, please visit the WordPress Tutorial column!
The above is the detailed content of How to remove wordpress theme link. For more information, please follow other related articles on the PHP Chinese website!