该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

MNML Footnotes

描述

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?”.

屏幕截图

安装

  1. Upload the plugin files to the /wp-content/plugins/mnml-footnotes directory, or install the plugin through the WordPress plugins screen directly.

  2. Activate the plugin through the Plugins area in WordPress.

  3. Start using the shortcode [mnml_footnote]Your footnote reference here.[/mnml_footnote] within your post content.

  4. Optionally, you can go to Settings->Writing and add a title for your footnotes sections on posts.

常见问题

Installation Instructions
  1. Upload the plugin files to the /wp-content/plugins/mnml-footnotes directory, or install the plugin through the WordPress plugins screen directly.

  2. Activate the plugin through the Plugins area in WordPress.

  3. Start using the shortcode [mnml_footnote]Your footnote reference here.[/mnml_footnote] within your post content.

  4. Optionally, you can go to Settings->Writing and add a title for your footnotes sections on posts.

评价

此插件暂无评价。

贡献者及开发者

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

贡献者

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

对开发感兴趣吗?

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

更新日志

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

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.