Blank Footnotes

描述

This plugin allows one to create footnotes by using markdown notation.
It is for footnotes only. No other markdown tag is taken into account

如:

I have more [^1] to say up here.

[^1]: To say down here.

If used with jetpack and enabled markdown, it only shows the buttons without modifying the text content.
Unlike jetpack-markdown, footnotes will appear in the exact point where they have been inserted. To go back to text mode click on the footnote number.

N.B
This plugin also works with Gutenberg. But the button only appears in the Classic Editor.
For now with Gutenberg enter the codes directly.

配置

No configuration is necessary.

Considering that this plugin, like others working with “markdown”, parsing the page every time I load it, I highly recommend using a caching plugin.

Customizing Footnote Layout

If you want the footnote number to be logically separated from the note (for CSS targeting) but want to prevent unwanted line breaks or extra spacing caused by WordPress’s automatic paragraphs, you can add the following CSS to your theme:

/* Ensure the footnote stays inline or as a specific block */
p > span.footnote {
    display: inline-block;
}

/* Remove extra spacing from the paragraph containing the footnote */
p:has(> span.footnote) {
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

屏幕截图

  • Visual Editor TinyMCE with plugin actived
  • Popup where you can enter note number
  • Example with the footnotes display

安装

This section describes how to install the plugin and get it working.

  1. Upload the plugin files to the ‘/wp-content/plugins/blank-footnotes’ directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress

常见问题

Does this plugin work with any theme?

Yes, it is designed to work with all standard WordPress themes.

Does it work with Gutenberg?

Yes, this plugin works with the Gutenberg editor. However, the dedicated button only appears in the Classic Editor. For now, when using Gutenberg, you can enter the shortcodes directly into the blocks.

How do I install it?

Please refer to the “Installation” tab for step-by-step instructions.

How can I customize it?

You can use CSS to style the .footnote class. Use span.footnote for the notes themselves and sup.footnote for the reference numbers.

评价

2026 年 4 月 24 日
Blank Footnotes is a brilliant footnote plugin! Admittedly, it doesn’t have a hover (on-mouse-over) function – neither browser-based nor plugin-based – nor does it offer automatic numbering.BUT: Doing without such features is rewarded with a plugin that is straightforward, lightweight, offers little scope for attack and therefore does not need to be constantly updated, meaning it is likely to remain usable in the long term. It is uncomplicated to use and can be easily adapted to your own design preferences using CSS. It has the advantage that footnotes do not need to be integrated into the text, but are entered at the end of the text, where they are ultimately meant to be, which I find much clearer. And (probably most importantly) it has a plugin developer who, should any issues arise, provides friendly, quick and highly competent support. I recently had to update 1641 footnotes when switching from my old footnote plugin to Blank Footnotes, and it worked brilliantly – highly recommended! Blank Footnotes deserves every success.
2023 年 3 月 5 日
Ich verwende „Blank Footnotes“ in meinen Beiträgen. Mit dem Plugin ist es sehr einfach Quellen bzw. Literaturverzeichnis zu erstellen. ich hoffe Corrado Franco entwickelt es weiter und in Gutenberg-Editor wird einfache Funktion ergänzt für die automatische Erzeugung von Verzeichnis. Auch Anpassung von Einstellungen werde ich sehr begrüßen.
2019 年 7 月 31 日
I was looking for a simple solution that doesn’t add extra scripts to my site. This is it. Auto-numbering would be a good improvement.
2016 年 9 月 3 日 1 回复
Perfect for a minimal footnote option, which has a custom place. Thank you very much!
2016 年 9 月 3 日
This plug-in works great and looks fine. A perfectly minimal footnotes option. I will use it liberally.
阅读所有5条评价

贡献者及开发者

「Blank Footnotes」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Blank Footnotes」插件已被翻译至 2 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Blank Footnotes」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.7

  • Refactor: Modularized filter registration logic for better compatibility and future maintenance.
  • Improvement: Updated PHP version requirements and confirmed compatibility with PHP 8.5.
  • Update: Tested up to WordPress 7.0.
  • Added FAQ and CSS note.

1.6.7

  • Updated readme.

1.6.6

  • Changed strings translation

1.6.5

  • Fixed version

1.6.4

  • Fixed typo

1.6.3

  • Fixed plugin name

1.6.2

  • Added note for Gutenberg
  • Tested with WordPress 5.0.1

1.6.1

  • Added note for Gutenberg.
  • Fixed style according to WordPress Coding Standards for PHP_CodeSniffer.
  • Tested with WordPress 5.0 classic editor

1.6

  • Add domain path

1.5

  • Fix typo

1.4

  • Fix translation

1.3

  • Fix jetpack detection

1.1

  • Fix english language
  • Fix text editor string
  • Fix syntax for WordPress coding standard

1.0

  • First version in WordPress plugins directory

0.4

  • Added Documentation in PHPDoc format.
  • Renamed some function with bfn_ preposition

0.3

  • Added localization (in langs)
  • Added italian language

0.2

  • Added button for text editor
  • Added button for TinyMCE

0.1

  • Initial release
  • Regex to convert Markdown footnotes to HTML