前言介紹
- 這款 WordPress 外掛「Footnotes & Content」是 2024-04-20 上架。
- 目前有 70 個安裝啟用數。
- 上一次更新是 2025-04-30,距離現在已有 4 天。
- 外掛最低要求 WordPress 6.0 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
- 有 4 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
notes | footnotes | reference | formatting |
內容簡介
總結:WordPress Footnotes 外掛是將腳註添加到您的文章和頁面中的強大方法。您可以在每個頁面、文章或 ACF 中輕鬆地添加任意數量的腳註。
問題與答案:
1. WordPress Footnotes 外掛的關鍵特點有哪些?
- 簡單的腳註插入,通過自選標記(預設為雙括號)
- Gutenberg 支援
- 合併相同的腳註
- 支持分頁的文章
- 在特定頁面類型上抑制腳註
- 使用 jQuery 顯示漂亮的工具提示
- 大量的配置選項
2. WordPress Footnotes 外掛設計的目的是什麼?
- 簡化新腳註的創建
- 輕鬆從大多數現有的腳註外掛切換到這個外掛
- 提供支持 PHP8 及遵循 WordPress 標準的功能
- 提供技術規格,包括支持單站和多站點安裝,以及 PHP8 相容性
3. 如何進行腳註的創建?
- 使用雙括號(預設,但可以更改)來包括您的腳註,如:這是一個句子((這是您的腳註))。
- 在外掛的設置頁面中更改腳註的標記。
- 腳註將顯示在您的文章/頁面底部。
- 或者您可以使用一個名為「awef_show_footnotes」的短碼來指定腳註的位置。
- 您還可以在模板中使用 PHP 調用,例如:AWEF\Controllers\Footnotes_Formatter::show_footnotes( array( 'post_id' => 1 ) )。
- 重要提示:如果選擇此方法,您必須在外掛設置中將「不自動在文章中顯示」設置為 true。
原文外掛簡介
Footnotes & Content plugin is a powerful method of adding footnotes into your posts and pages. You can have as many footnotes as you like pretty easily in every page, post or ACF block, WooCommerce is also supported. That is the fastest footnote plugin which is using extremely low resources – you wont even notice that it is there.
You can visit the Github page for the latest code development, or if you want to report an issue with the code.
Key features include…
Simple footnote insertion via markup of choice (default – double parentheses)
Gutenberg support
Combine identical footnotes
Paginated posts are supported
Suppress Footnotes on specific page types
Option to display ‘pretty’ tooltips using jQuery
Option to display footnotes as tooltips using vanilla JS
Lots of configuration options
Different footnotes settings per post – you can use different settings on Post level – changing styles and UI
Footnotes & Content plugin is designed to ease the creation of a new footnote. It also gives you the ability to easily switch from most of the existing footnotes plugins to this one. Lets face it – almost 100% of them are abandoned or in awful condition. It supports PHP8, it is written using best practices and follows the WordPress standards, give it a try. You can quickly check the plugin here
Technical specification…
Designed for both single and multi-site installations
PHP8 fully compatible
PHP multibyte must be installed
Getting Started
Creating a footnote is incredibly simple – you just need to include your footnote in double parentheses (default, but you can change that), such as this:
This is a sentence ((and this is your footnote)).
You can change the markup for the footnote in the settings page of the plugin.
The footnote will then appear at the bottom of your post/page.
Don’t put footnotes in short description / excerpts – the plugin won’t work there by design.
Or you can use a shortcode for where you want your footnotes to appear. The shortcode is “awef_show_footnotes“. The shortcode also accepts a parameter of the post id in format of ‘post_id=1’. If not presented, the global \WP_Post object will be used.
You can also use a PHP call in your templates or whatever you like by using the following:
AWEF\Controllers\Footnotes_Formatter::show_footnotes( array( ‘post_id’ => 1 ) );
Note: If you choose this way (above), you have to go to the plugin settings, and set “Do not autodisplay in posts” to true.
Advanced Custom Fields (ACF) are also supported out of the box – just read and keep in mind this:
Unfortunately there are limitations with the ACF because of its block structure. There is no way to guess how many blocks are there, which is first, second, are there more blocks or not … So every block will show its own footnotes, and shortcodes are not working outside them. Currently there is no way to achieve that functionality. So they are treated more like endnotes if there are multiple blocks using the footnotes tags.
What plugin does is to keep track of the footnotes and keep proper numbering among the blocks (again there is no way to guess which is which, so they are parsed in order of their callings from backend, but they can be shown in entirely different places on the front end.)
WooCommerce (including new product editor) is also supported.
Unlike any other plugin, this one gives you the ability to have different settings for different posts. When editing post, you can change the setting for the plugin which will apply for that specific post, and others will keep using the global settings. If you think that this is too much, you can always disable this from advanced settings.
Other plugins compatibility
There are plugins with which that one is 100% compatible – meaning that you can directly jump from them to this one:
WP Footnotes
Footnotes Made Easy
Options
You have a fair few options on how the identifier links, footnotes and back-links look which can be found in the WordPress admin area either on the stand alone page, or under Settings -> Footnotes – that depends on your desired setting in the plugin.
Shortcode options
[awef_show_footnotes] Is the shortcode you should use. Inside the post content, there is nothing more that you have to do.
If you want to use the shortcode outside of the post content, then you need to add the post id as a parameter:
[awef_show_footnotes post_id=1]
If outside of the post content, and there is no parameter of the post id provided, then the plugin will try to use the global post if presented.
Paginated Posts
Some of you seem to like paginating post, which is kind of problematic. By default each page of your post will have it’s own set of footnotes at the bottom and the numbering will start again from 1 for each page.
The only way to get around this is to know how many posts are on each page and tell Awesome Footnotes what number you want the list to start at for each of the pages. So at some point on each page (that is, between each