前言介紹
- 這款 WordPress 外掛「Footnotes Made Easy」是 2017-01-11 上架。 目前已經下架不再更新,不建議安裝使用。
- 目前有 3000 個安裝啟用數。
- 上一次更新是 2024-02-20,距離現在已有 439 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 4.6 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.1 以上。
- 有 35 人給過評分。
- 論壇上目前有 11 個提問,問題解答率 36%
外掛協作開發者
vikmark |
外掛標籤
notes | footnotes | reference | formatting | bibliography |
內容簡介
Footnotes Made Easy 是一個簡單而強大的方法,可將註腳添加到您的文章和頁面中。
主要功能包括:
透過雙括號簡單插入註腳
合併相同註腳
用於分頁文章的解決方案
在特定頁面類型上禁止註腳
選擇使用 jQuery 顯示美觀的工具提示
有許多配置選項
還有更多!
技術規格如下:
根據 GPLv2(或更高版本) 許可證
設計適用於單站點和多站點安裝
相容 PHP7
完全國際化,準備好翻譯。如果您希望為此外掛添加翻譯,請訪問我們的翻譯 WordPress 頁面
Footnotes Made Easy 是由 Simon Elvery 遺棄多年前的外掛 WP Footnotes 的分支版本。
圖示由非常有才華的 Janki Rathod ♥️ 提供。
👉 要了解最新的代碼開發、計劃增強和已知問題,請訪問 Github 頁面 👈
入門指南
創建註腳非常簡單-您只需要在雙括號中包含您的註腳,例如:
這是一個句子((這是您的註腳))。
然後,該註腳將出現在您的文章/頁面底部。
重要注意事項:請確保在開頭的雙括號之前加上一個空格,否則註腳將無法工作!
選項
您可以根據自己的需求更改識別符、註腳和返回鏈的外觀,在 WordPress 管理區域下的「設置」->「註腳」中設置。
分頁文章
一些人可能喜歡分頁文章,但可能會有問題。默認情況下,您的文章的每個頁面都會在底部擁有自己的註腳集,並且每個頁面的編號都會從1重新開始。
解決方法是了解每個頁面上有多少篇文章,然後告訴 Footnotes Made Easy 每個頁面上的註腳列表應從哪個編號開始。因此,在每個頁面的某個時刻(即,在每個標籤之間),您需要添加一個標籤,以讓外掛知道此頁面的註腳應從哪裡開始。標籤應該如此 ,其中「5」是您希望此頁面上的註腳從哪裡開始的編號。
參考
有時候,能夠第二次(或第三次,或第四次...)引用先前的註腳很有用。要做到這一點,您可以直接插入與第一次完全相同的文本,識別符將參照先前的註腳。或者,如果您不想再次輸入所有文本,可以像這樣構造註腳:((ref:1)) ,該識別符將引用具有指定編號的註腳。
即使輸入更多,使用完全相同的文本方法更加堅固。 編號參考將無法在分頁文章的多個頁面之間工作(但在同一頁面中可以)。此外,如果使用編號參考系統,當您回頭插入文本時,可能會出現標識不正確的註腳。
原文外掛簡介
Footnotes Made Easy is a simple, but powerful, method of adding footnotes into your posts and pages.
Key features include…
Simple footnote insertion via markup of choice (default – double parentheses)
Gutenberg support
Combine identical notes
Solution for paginated posts
Suppress Footnotes on specific page types
Option to display ‘pretty’ tooltips using jQuery
Lots of configuration options
And much, much more!
You can try the plugin in WordPress Playground!
Technical specification…
Licensed under GPLv2 (or later)
Designed for both single and multi-site installations
PHP7 compatible
Fully internationalized, ready for translations. If you would like to add a translation to this plugin then please head to our Translating WordPress page
Footnotes Made Easy is extending the WP Footnotes, a plugin by Simon Elvery which was abandoned some years ago.
👉 Please visit the Github page for the latest code development, planned enhancements and known issues 👈
Getting Started
Creating a footnote is incredibly simple – you just need to include your footnote in double parentheses (default), 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.
Or you can use a shortcode for where you want your footnotes to appear. The shortcode is “fme_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:
FME\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, if the ACF is installed you will see new setting in formatting page of the settings of the plugin.
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
[fme_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:
[fme_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 Footnotes Made Easy 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