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

How to remove wordpress theme link

藏色散人
Release: 2019-07-17 09:20:26
Original
2785 people have browsed it

How to remove wordpress theme link

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

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

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!

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