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

How to remove wordpress theme information

爱喝马黛茶的安东尼
Release: 2019-07-20 14:04:34
Original
2910 people have browsed it

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>
Copy after login

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>
Copy after login

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!

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