説明
Footnotes Made Easy は投稿やページに脚注を追加するための、簡単かつ強力な方法です。
主な機能…
- 二重の丸括弧による簡単な挿入
- 同一の注釈を合併
- 投稿のページ分割に対応
- 特定のページ種別では脚注を抑制
- 素敵なツールチップを jQuery を使って表示するオプション
- 多くの構成オプション
- まだあります !
技術的なこだわりは…
- GPLv2 (またはそれ以降) のライセンス
- 単一またはマルチサイトの両方のインストール用に設計
- PHP7 互換
- 完全な多言語化のための用意は整っています。本プラグインに翻訳を追加したいなら、WordPress の翻訳ページからお願いします
Footnotes Made Easy は WP Footnotes の派生フォークです。Simon Elvery によるプラグインで2013年に開発中止されていました。
図像は優れたセンスのある Janki Rathod の厚意によるものです ♥️
👉 Github のページから、開発しているコードや機能強化の予定、既知の問題をご覧ください 👈
始めてみよう
脚注の作成は驚くほど簡単です – 単に2つの丸括弧に脚注を含めるだけです。こんな感じに…
例文です ((そしてこれが脚注です))。
脚注が、投稿/ページの末端に表示されます。
注意: 丸括弧の前に半角スペースを入れる必要があります。そうしないと動作しません !
オプション
WordPress 管理画面の「設定」 -> 「脚注」から識別子のリンク、脚注、戻るリンクに関するたくさんのオプションがあります。
ページ番号を割り当てた投稿
投稿にページを割り当てることを好む人もいるようですが、問題をはらんでいます。標準では、ページごとに脚注の一式を持ち、1番から番号が割り振られます。
唯一の解決策は、それぞれのページごとに何番から開始するかを Footnotes Made Easy に教えることです。<!--nextpage-->
で区切った各ページのどこかに、タグを追加して、本プラグインに対しこのページでは脚注を何番から開始すべきかを教えます。<!--startnum=5-->
これは5番から開始したいとことです。
参照
以前の脚注を2回以上参照することができると便利ですね。これを行うには、1回目とまったく同じ文字列を挿入するだけです。識別子は単に以前の注釈を参照します。また再び同じように入力したくないなら、次のような脚注を使うことができます: ((ref:1))
そうすると、識別子はその番号の脚注を参照します。
入力は増えますが、同一文字列を使った方法のほうが手堅いです。番号での参照では、間位に新しいを脚注を追加した時に、番号の変更を忘れると誤った脚注を指定することになります。ページに分割された場合にも機能しません。
インストール
Footnotes Made Easy can be found and installed via the Plugin menu within WordPress administration (Plugins -> Add New). Alternatively, it can be downloaded from WordPress.org and installed manually…
- Upload the entire
footnotes-made-easy
folder to yourwp-content/plugins/
directory. - Activate the plugin through the ‘Plugins’ menu in WordPress administration.
Voila! It’s ready to go.
FAQ
-
本プラグインはどう計画されていますか ?
-
リリース1.0では、本プラグインが以前に開発された最後のバージョンで、新たにブランド確立について追加し、動作しない一部のコードを削除しました。次のリリースでは、コードを整理し、初期段階の小さな追加機能を追加しました。この段階で主な機能の追加を追加しようとしましたが、多くではありません。私は本プラグインの機能をシンプルに保ち簡単に使えるようにしたいのです。
-
オプション以外に脚注の出力のスタイルを変更できますか ?
-
はい。最も簡単には、テーマのエディター内の CSS エディターを使うことです。ol.footnotes は、脚注一覧全体のことで、ol.footnotes li では個々の脚注になります。
評価
貢献者と開発者
変更履歴
I use semantic versioning, with the first release being 1.0.
1.0.5
- Maintenance update – PHP 8 compatible.
1.0.4
- Bug: Well, I messed that release up and left some test dates in place. Apologies. This fixes it all now.
1.0.3
- Maintenance: Added notices about the plugin closure
1.0.2
- Bug: Fixed some bugs around settings getting saved (thanks to Rufus87)
- Enhancement: Improved code to better meet VIP coding standards (not 100% yet but looking better!)
- Enhancement: Added Github links to plugin meta. Added other useful meta as well
- Enhancement: Minor enhancements to the way that field headings are shown in the settings
- Enhancement: Added a further check to the settings savings function, to ensure it’s not called when it’s not needed (thanks to seuser)
- Maintenance: Increased minimum PHP level 5.6 after reports of issues at 5.4. Upgrade people!
- Maintenance: Removed some redundant code from where there used to be a button on the settings screen to reset all the options
1.0.1
- Maintenance: Updated this README to display better in the new plugin repository. Also updated the image assets (banner and icon)
- Maintenance: Minimum WordPress requirement is now 4.6. This means various checks and bits of code could be removed, including the languages folder, as this is now handled natively.
1.0
- Initial release