Home >CMS Tutorial >WordPress >How to remove wordpress theme information

How to remove wordpress theme information

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼Original
2019-07-15 16:22:422910browse

How to remove wordpress theme information

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( __( &#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>

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(&#39;home&#39;); 
?>" title="<?php bloginfo(&#39;name&#39;); 
?>" rel="generator">
<?php bloginfo(&#39;name&#39;); 
?>
</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!

Statement:
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