There have been plugins for adding footnotes in WordPress for as long as there have been WordPress plugins, but they have often been difficult to use and have looked out of place when viewing single posts. In 2023, we finally got an official Footnotes block as part of WordPress 6.3. I’m prone to tangents, and footnotes let me get them off my chest without turning every blog post into a wall of off-topic text.1 The Footnotes block can be difficult to find if you haven’t used it before, though. Follow the steps below to get started.
- Place your cursor where you want to insert a footnote. You can add footnotes pretty much anywhere you can edit text in the WordPress block editor.
- You can find the “Footnote” button in the toolbar that appears above the block you’re currently editing. Try moving your mouse over the block if it doesn’t appear at first. Find the “More” button with the downward-facing chevron next to the “Link” button, click it, and then click on the “Footnote” button in the list. The footnote will appear where you have the cursor, like this.2
- When you add the footnote, WordPress will also add a Footnotes block at the bottom of the post. Add the text you want to add to your first footnote in the Footnotes block. When visitors click the footnote number, they’ll be scrolled down to the list of footnotes at the bottom of the page. Each footnote in the Footnotes block also has a
↩︎link next to it. Clicking it will take the visitor back to the footnote’s position in the content. - Repeat steps 1 through 3 for all of the footnotes you want to add.
If your theme has a sticky header, the footnotes can end up hidden behind it when visitors click a footnote number. A line of CSS fixes that, which I go through in my tutorial on making a sticky header in a WordPress block theme.
To remove a footnote, delete its number in the text, and WordPress will remove it from the list of footnotes as well. When you’ve removed all of them, delete the Footnotes block too.
Footnotes are supported by both posts and pages, and most custom post types (like the ones added by themes and plugins) should support them as well, as long as they support the block-based content editor. If you’re editing a custom post type and can’t see the “Footnote” button in the toolbar, it’s possible that the custom post type doesn’t support all of the features required for the Footnotes block to work. Footnotes can also only be added to the content of a post, page, or other post type, so you won’t find the button when you’re editing templates or synced patterns in the Site Editor.
Psst! If you are a developer and have registered the post type yourself, you need to make sure that the supports parameter includes editor, custom-fields, and revisions, and that show_in_rest is set to true.
- On a bad day, I might have waxed poetic about my new coffee machine for about 1,000 words right here, in the middle of a tutorial about footnotes. Fortunately, I have a whole gear section on the site for that type of stuff. ↩︎
- This is also a footnote! ↩︎