Este plugin não foi testado com os 3 lançamentos principais mais recentes do WordPress. Ele pode não ser mais mantido ou suportado e pode ter problemas de compatibilidade quando usado com versões mais recentes do WordPress.

Endnotes

Descrição

Endnotes is a simple solution for adding footnotes to your WordPress posts or pages. The plugin originated as a fork of John Watson’s FD Footnotes but has been updated to use the WordPress Settings API. The original plugin’s usage and functionality has been retained.

How to Use

You can add footnotes to your posts or pages by adding numbered inline content within square brackets. Place the inline content where you would like the superscript numeral to appear.

I am Jack's happy sentence that will contain a footnote[1. I am Jack's happy footnote] for calling out a reference.

Each footnote must have a number, followed by a period and a space, and then the actual footnote. They don’t have to be unique but it is recommended. It doesn’t matter what the numbers are since the footnotes will be automatically renumbered when the post is displayed.

Footnotes can contain anything you’d like including links, images, etc. Footnotes are automatically linked back to the spot in the text where the note was made.

Square Bracket Usage

Do not include square brackets inside the footnotes themselves.

Unique Footnote Numbers

Footnote numbers don’t need to be unique but it is highly recommended, especially if the text is identical for multiple footnotes. If you have multiple footnotes with the exact same text and number, you may get undesirable results.

Capturas de tela

  • Endnotes settings screen
  • Endnotes usage in TinyMCE editor
  • Endnotes output

Instalação

You can install Endnotes either via the WordPress Dashboard or by uploading the extracted endnotes folder to your /wp-content/plugins/ directory. Once the plugin has been successfully installed, simply activate the plugin through the Plugins menu in your WordPress Dashboard.

Once the plugin has been activated, visit the Settings page to customize the display of your footnotes.

Perguntas frequentes

Why was this plugin developed?

Though we loved the simplicity of the FD Footnotes plugin, we felt it was prudent to utilize the WordPress Settings API to prevent the occurrence of PHP errors we were encountering.

Will the plugin style my footnotes?

No. We felt it was important to leave the stylistic presentation of your footnotes up to you. The markup for the footnotes is pretty straightforward and should inherit your theme’s styles for h3, a, and ol elements. There are unique CSS class names you can hook into for further customization via your theme’s style.css file.

I am using FD Footnotes. Can I migrate to Endnotes?

If you would like to replace FD Footnotes with Endnotes, you will need to deactivate FD Footnotes before activating Endnotes. Because this plugin is using the WordPress Setting API, you will need to navigate to the Endnotes Settings page and save your settings.

Is the plugin translatable?

Yes. If you have translated the plugin into your language, please send the translation files to hello@heavyheavy.com for inclusion in future releases.

Avaliações

17 julho, 2017
There is a workaround for the single “]” problem at the end of the footnote. If you change footnotes to begin with “[[1. ” and end with “]]” and then manually change the plugin file named “endnotes-output.php: lines as below, you can use single “]” inside your footnote! 31 if ( preg_match_all(‘/\[\[(\d+\. .*?)\]\]/s’, $content, $matches ) ) { 32 foreach( $matches[0] as $fn ) { 33 $note = preg_replace( ‘/\[\[\d+\. (.*?)\]\]/s’, ‘\1’, $fn ); 34 $notes[$n] = $note;
10 novembro, 2016
I have a VERY large document with a lot of endnotes and I initially had trouble with this program but it turned out to be an easy fix. The trouble I had was that my particular theme sometimes tries to isolate what looks to it like code (with code tags), and it was doing this with one or two of the closing brackets. When this happened, the program did not work correctly because it was looking for a closing ] for the footnote. All you have to do to resolve this is go into the text view and search (crtl-F) for “code” and you will be able to easily locate these instances. This happened with my theme but it might not happen with others. Erik was very responsive to my questions.
Leia todas as 5 avaliações

Colaboradores e desenvolvedores

“Endnotes” é um programa de código aberto. As seguintes pessoas contribuíram para este plugin.

Colaboradores

Registro de alterações

1.0.0

  • Initial release