Home> CMS Tutorial> WordPress> body text

How to add filing information in wordpress

Release: 2019-07-25 10:11:27
Original
22484 people have browsed it

How to add filing information in wordpress

When filing, the filing number needs to be displayed, but the WordPress default template itself does not carry this information. In order to handle the filing more quickly, the solution is as follows:

According to wp-config .php tips

.......... /** * zh_CN本地化设置:启用ICP备案号显示 * * 可在设置→常规中修改。 * 如需禁用,请移除或注释掉本行。 */ define('WP_ZH_CN_ICP_NUM', true); ...........
Copy after login

Select menu->Settings->General-Edit registration number information

How to add filing information in wordpress

## in the footer.php of the theme you are using Add a line of code to display the ICP registration number added in the WordPress background.

Select menu: Appearance-Edit-Find footer.php and add the following information

Copy after login

You can add some styles appropriately , such as:


           
Copy after login
Display effect:

How to add filing information in wordpress

For more wordpress related technical articles, please visit the

wordpress tutorialcolumn to learn!

The above is the detailed content of How to add filing information in wordpress. 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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!