Home > CMS Tutorial > WordPress > 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
Release: 2019-11-16 15:45:31
Original
3468 people have browsed it

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

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

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!

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