Home > CMS Tutorial > WordPress > body text

How to delete WordPress theme template copyright

Release: 2019-07-22 13:37:08
Original
3028 people have browsed it

How to delete WordPress theme template copyright

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( __( &#39;http://wordpress.org/&#39;, &#39;主题名称&#39; ) ); ?>
" title="<?php esc_attr_e( &#39;Semantic Personal Publishing Platform&#39;, &#39;twentyeleven&#39; ); ?>
" rel="generator"><?php printf( __( &#39;Proudly powered by %s&#39;, &#39;主题名称&#39; ), &#39;WordPress&#39; ); ?>
</a>
Copy after login

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(&#39;home&#39;); ?>" title="<?php bloginfo(&#39;name&#39;); ?>
" rel="generator"><?php bloginfo(&#39;name&#39;); ?></a>  这样就换成了自己的版权信息了。
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template