Home  >  Article  >  CMS Tutorial  >  How to put the registration number at the bottom in WordPress

How to put the registration number at the bottom in WordPress

下次还敢
下次还敢Original
2024-04-16 03:06:131312browse

How to put the registration number at the bottom of WordPress: Log in to the WordPress management area. Navigate to Appearance > Theme Editor. Select the theme you are using and open the "footer.php" file. Add the filing number code at the bottom of the footer file. Update the file and save changes. Open the website and check whether the registration number is correctly displayed at the bottom of the page.

How to put the registration number at the bottom in WordPress

How to place the registration number at the bottom of WordPress

Step 1: Log in to the WordPress management area

  • Enter the URL of the website, for example: www.example.com/wp-admin
  • Log in using the administrator username and password.

Step 2: Navigate to Theme Editor

  • In the left menu, click Appearance > Theme editor".
  • Select the theme you are using from the theme list.

Step 3: Edit the footer file

  • In the theme editor, click the "footer.php" file .
  • This is a file that contains the website footer code.

Step 4: Add the registration number code

  • At the very bottom of the footer file, add the following code:
<code class="php"><div class="备案号">备案号:<a href="https://beian.miit.gov.cn/">京ICP备12345678901234</a></div></code>
  • Replace "京ICP备12345678901234" with your own registration number.
  • You can customize the "Registration Number" class for style setting.

Step Five: Update File

  • Click the "Update File" button to save changes to the footer file.

Step Six: View Website

  • Open your website and scroll down to the bottom of the page.
  • You should see the filing number displayed at the very bottom.

Tips:

  • Make sure your registration number is valid and up-to-date.
  • You can click "View" > "Source Code" in the top menu bar to verify whether the filing number has been added correctly.

The above is the detailed content of How to put the registration number at the bottom in WordPress. 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