
內容簡介
此外掛最適合桌面和行動裝置的註解,靈感來自 Grantland 和 FiveThirtyEight 的樣式。
使用 WordPress 編輯器中的註解圖示或使用 shortcode [mfn]這將是一個註解[/mfn] 在文章中使用註解。該外掛將自動為每個註解關聯連續的數字。
在桌面上,當使用者按下數字時,註解將顯示為工具提示。在移動裝置上,註解將展開為當前文字下方的一節。
您也可以使用 [mfn_list] shortcode 顯示使用的文章註解列表。
官方 GitHub 存儲庫位於 https://github.com/seankwilliams/modern-footnotes
Shortcode 選項
您可以在 shortcode 中使用以下選項,修改註解的某些行為或樣式。
[mfn referencenumber=3]這個註解將有數字 3[/mfn]
[mfn class=’my-pretty-class’]這個註解將有 ‘my-pretty-class’ 作為額外類別,允許自定義單個註解的樣式。
[mfn referencereset=’true’]這個註解將重置註解計數器,因此收到 1 作為其數字。以下註解也將按照這個新開始獲得註解序號。
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
Footnotes optimized for desktop and mobile, inspired by the styles of Grantland and FiveThirtyEight.
Use a footnote in your post by using the footnote icon in the WordPress editor or by using the shortcode: [mfn]this will be a footnote[/mfn] The plugin will automatically associate sequential numbers with each plugin.
On desktop, footnotes will appear as a tooltip when the user clicks on the number. On mobile, footnotes will expand as a section below the current text.
You can also use the [mfn_list] shortcode to display a list of footnotes used in the article.
The official GitHub repository is at https://github.com/seankwilliams/modern-footnotes
Shortcode options
You can modify some behaviours or styles of your footnotes by using the following options within our shortcode.
[mfn referencenumber=3]This footnote will have the number 3[/mfn]
[mfn class=’my-pretty-class’]This footnote will have ‘my-pretty-class’ as additional class, allowing for custom styling of individual footnotes.[/mfn]
[mfn referencereset=’true’]This footnote will reset the footnote counter and therfore receive 1 as its number. Following footnotes will also receive their number according to this new start.[/mfn]
