外掛說明
This plugin gives you a shortcode to make numbered references to footnotes, directly from your post content. Footnotes are listed and enumerated automatically at the end of your post
content, reusing all existing styles of your site. All references become anchor links guiding the user to the footnote section of the post.
We would love to hear and discuss your feedback in a review. If you want to report a bug or have a feature request, please do so via the GitHub repository.
Usage
To make a new footnote reference in your content you can use the shortcode mnml_footnote in the following way:
This is your regular post content and the shortcode by this plugin looks like this [mnml_footnote] Easy, right? [/mnml_footnote]
Everything inside the shortcode will be moved into a footnote and replaced by a numbered reference link to it. In this example the footnote content would be “Easy, right?”.
螢幕擷圖
安裝方式
-
Upload the plugin files to the
/wp-content/plugins/mnml-footnotes
directory, or install the plugin through the WordPress plugins screen directly. -
Activate the plugin through the Plugins area in WordPress.
-
Start using the shortcode
[mnml_footnote]Your footnote reference here.[/mnml_footnote]
within your post content. -
Optionally, you can go to Settings->Writing and add a title for your footnotes sections on posts.
常見問題集
- Installation Instructions
-
-
Upload the plugin files to the
/wp-content/plugins/mnml-footnotes
directory, or install the plugin through the WordPress plugins screen directly. -
Activate the plugin through the Plugins area in WordPress.
-
Start using the shortcode
[mnml_footnote]Your footnote reference here.[/mnml_footnote]
within your post content. -
Optionally, you can go to Settings->Writing and add a title for your footnotes sections on posts.
-
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
v0.3.0 – 26 October 2017
- Frontend: Footnote links are
<sup>
and no longer span tags with custom styles.
v0.2.3 – 2 October 2017
- Testing: Disallow var_dump and some others in PHP_CodeSniffer
- Documentation: Improved changelog formatting
v0.2.2 – 1 October 2017
- Bugfix: Fix global post variable in tests and remove unused code. Fixes #11
v0.2.1 – 25 September 2017
- Testing: Use Precise and simplify config on TravisCI.
- Documentation: Include required PHP version for w.org.
v0.2.0 – 11 August 2017
- Added a filter called
mnml_footnote_text
that enables customizing the footnote output the via PHP. See the developer section on GitHub
for an example.
v0.1.2 – 10 June 2017
- A sketch of another shortcode was removed in favor of simplicity for now. Nothing changes though, the shortcode for
footnote references works exactly the same way as before.
v0.1.1 – 10 June 2017
- The plugin was renamed to MNML Footnotes.
- A bug concerning repeated footnotes referencing the same text has been fixed.
- Whitespace at the beginning and end of footnote content is now trimmed away.
v0.1.0 – 17 April 2017
- Footnotes that only contain a link will now automatically convert into anchor tags with target=”_blank”.
- The few words by this plugin on the settings page are now translatable. A
.pot
file for translations is also included inside the/lang
directory.
v0.0.1 – 26 March 2017
Initial version.