Home  >  Article  >  CMS Tutorial  >  How to remove and add copyright information at the bottom of WordPress articles

How to remove and add copyright information at the bottom of WordPress articles

angryTom
angryTomOriginal
2019-11-16 15:45:313432browse

How to remove and add copyright information at the bottom of WordPress articles

How to remove and add copyright information at the bottom of WordPress articles

1. Remove copyright information

1. Enter the management background, open the appearance-edit

How to remove and add copyright information at the bottom of WordPress articles

2. Find "footer.php" and modify the code

3. Delete the following code:

<a href=“<?php echo esc_url( __( ‘http://wordpress.org/’, ‘twentyeleven’ ) ); ?>” title=“<?php esc_attr_e( ‘Semantic Personal Publishing Platform’, ‘twentyeleven’ ); ?>” rel=“generator”><?php printf( __( ‘Proudly powered by %s’, ‘twentyeleven’ ), ‘WordPress’ ); ?></a>

2. Add copyright information

Just add the following code at the bottom of the footer.php file. The specific content style can be customized.

<a href=“<?php echo get_option(‘home’); ?>” title=“<?php bloginfo(‘name’); ?>” rel=“generator”><?php bloginfo(‘name’); ?></a>

Note: You need to click "Update File" and then refresh your WP homepage to see the effect.

Recommended tutorial: WordPress tutorial

The above is the detailed content of How to remove and add copyright information at the bottom of WordPress articles. 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