Home / SEO / How to Edit HTML in WordPress Code Editor

How to Edit HTML in WordPress Code Editor

Looking to customize your WordPress website by tweaking the code? Well, you’re in luck! In this article, we’ll walk you through how to edit HTML in the WordPress code editor.

Whether you’re using the Block Editor or the Classic Editor, we’ve got you covered. If you prefer the Block Editor, simply access the code editor option within existing pages or posts. And if you’re more comfortable with the Classic Editor, just switch to the Text tab and edit the HTML code directly.

But before you dive into the code, it’s important to make a backup of your website and update all plugins and themes. This way, you can ensure a smooth editing process without any unwanted changes.

So let’s get started and unlock the full potential of your WordPress website by editing the HTML code!

Installing the Modern Footnotes Plugin

To install the Modern Footnotes Plugin, you’ll need to follow these steps.

First, log in to your WordPress dashboard.
Then, navigate to the Plugins section and click on ‘Add New.’
In the search bar, type ‘Modern Footnotes Plugin’ and press enter.
Once the plugin appears in the search results, click on ‘Install Now.’
After the installation is complete, click on ‘Activate’ to activate the plugin on your website.

Now that the plugin is activated, you can start using it to add footnotes to your posts or pages.

To do this, go to the post or page where you want to add a footnote and open it in the WordPress code editor.
Locate the section where you want to insert the footnote and add the appropriate shortcode provided by the Modern Footnotes Plugin.
Save your changes and preview the post or page to see the footnotes in action.

Adding Footnotes in Gutenberg Editor

To add footnotes in the Gutenberg Editor, you can easily insert them into your content using the Modern Footnotes Plugin. This plugin provides a simple and efficient way to include footnotes in your WordPress posts or pages.

Here’s how you can do it:

  1. Install the Modern Footnotes Plugin from the WordPress Plugin Directory.
  2. Activate the plugin on your WordPress website.
  3. Open the Gutenberg Editor and create a new post or edit an existing one.
  4. Within the editor, select the block where you want to add the footnote.
  5. Click on the ‘+’ button to add a new block.
  6. Search for the ‘Footnote’ block and insert it.
  7. Type your footnote content within the block.
  8. Repeat these steps to add additional footnotes as needed.

Adding Footnotes in Classic Editor

To add footnotes in the Classic Editor, you can easily insert them into your content using the Text tab and HTML code.

Simply switch to the Text tab in the Classic Editor and locate the section of your content where you want to add the footnote. Place your cursor at the desired location and use the HTML code 1 to create a superscript number.

Then, scroll down to the bottom of your content and add a new line. Use the HTML code to create a placeholder for your footnotes.

Finally, go back to the superscript number you created earlier and surround it with the HTML code 1. This will create a clickable link that will take users to the footnotes section at the bottom of the page.

Using the Easy Footnotes Plugin

To incorporate footnotes into your content in the Classic Editor, you can utilize the Easy Footnotes Plugin. This plugin offers a user-friendly solution for adding and managing footnotes without the need for complex HTML coding.

Here are some key features of the Easy Footnotes Plugin:

  1. Easy creation and management: With this plugin, you can easily add footnotes to your content using a simple shortcode.
  2. Automatic numbering and linking: The footnotes are automatically numbered and linked, making it easy for readers to navigate.
  3. Customizable formatting: You can customize the appearance of the footnotes, such as the font size and color, to match your website’s design.
  4. Convenient editing: If you need to edit or remove a footnote, you can do so directly in the WordPress editor without having to modify the HTML code.

Other Footnote Plugins to Consider

Consider exploring other footnote plugins that can enhance your WordPress content.

While the Easy Footnotes plugin is a popular choice, there are other options available that may better suit your needs. One such plugin is WP-Footnotes, which allows you to easily add footnotes to your posts or pages using a simple shortcode.

Another option is Footnotes Made Easy, which provides a user-friendly interface for adding footnotes to your content.

Additionally, the Footnotes plugin offers a variety of customization options, allowing you to style your footnotes to match your website’s design.

These plugins can simplify the process of adding footnotes to your WordPress site, saving you time and effort when editing HTML in the WordPress code editor.

Enhancing the User Experience With Footnotes

Enhance the user experience on your WordPress site by incorporating footnotes that provide additional context and information within your content. Footnotes are a great way to offer readers a seamless way to access supplementary content without disrupting the flow of the main text.

Here are four ways footnotes can enhance the user experience on your WordPress posts:

  1. Provide additional resources: Use footnotes to offer readers links to external sources that provide more detailed information on specific points within your content.
  2. Explain complex concepts: Use footnotes to provide explanations or definitions for technical terms or complex concepts that may require further clarification.
  3. Add citations or references: Use footnotes to cite your sources or provide references for any claims or statistics mentioned in your content.
  4. Offer additional insights: Use footnotes to share additional insights or anecdotes that enhance the reader’s understanding of the topic.

Using the FD Footnotes Plugin

Continue enhancing the user experience on your WordPress site by incorporating the FD Footnotes Plugin. This plugin seamlessly integrates with the WordPress editor to easily add footnotes that provide additional context and information within your content.

To edit HTML code and insert footnotes, you can use this plugin instead of manually editing the code. With the FD Footnotes Plugin, you can conveniently add citations and extra information to your posts and pages without the need for complex coding.

Simply install and activate the plugin, then navigate to the WordPress editor to start adding footnotes. This user-friendly plugin eliminates the need to manually edit HTML code or use the WordPress theme editor.

Adding Footnotes With a Writing App (Scrivener)

To easily incorporate footnotes into your content, you can utilize a writing app like Scrivener. Scrivener offers a built-in feature for adding footnotes to your writing, making it a convenient option for managing and formatting your footnotes.

Here are four key features of Scrivener’s footnote functionality:

  1. Seamless insertion: With Scrivener, you can effortlessly insert footnotes within your text, ensuring that your additional information or citations are placed exactly where you need them.
  2. Customization options: Scrivener allows you to format and customize your footnotes according to your preferences. You can adjust the font, size, and style of your footnotes to match the overall look and feel of your content.
  3. Enhanced organization: By using Scrivener’s footnotes feature, you can better organize your content and improve its overall structure. Footnotes provide a clear separation between the main text and additional information, making it easier for readers to follow along.
  4. Improved presentation: With Scrivener, your footnotes will be neatly displayed, enhancing the overall presentation of your writing. This professional look adds credibility to your content and improves the reader’s experience.


In conclusion, editing HTML code in WordPress can be easily done through the code editor option in the Block Editor or by switching to the Text tab in the Classic Editor.

Additionally, the Theme Editor in the WordPress dashboard allows access to and editing of theme files, including HTML files.

Remember to backup your website and update plugins and themes before making any changes.

By editing the HTML code, you can unlock the full potential of your WordPress website.

How can you edit HTML in the WordPress code editor?

This article provides a step-by-step guide on editing HTML in the WordPress code editor. It explains the importance of expires headers and browser caching in optimizing caching mechanisms and improving page loading times. The article also discusses the installation and configuration of the WP Rocket plugin, which enhances page load speed and user experience. Additionally, it covers editing server files (.htaccess for Apache and expires on Nginx) and troubleshooting common issues that may arise. Overall, this comprehensive guide offers valuable insights into efficiently customizing and optimizing a WordPress website.

Table of Contents