このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

Easy Footnotes

説明

Easy Footnotes は、ショートコード [efn_note]脚注の文章。[/efn_note] を使って WordPress の投稿に脚注を追加します。ショートコードの記載場所に脚注番号を自動で追加し、対応する番号の一覧を通して、完全な脚注文章を記事の末端に追加します。

脚注の目印にカーソルを乗せると、jQuery Qtip2 プラグインを通して脚注の全文が表示されます。脚注の目印をクリックすると、WordPress の投稿の末端にある対応する脚注へとページ内を移動します。投稿の末端のそれぞれの脚注には、クリックしてぞれぞれの元の文章に戻ることができるアイコンがあります。

WordPress のブログに脚注を追加するにはこれですべてです !

スクリーンショット

  • マウスを乗せると脚注を表示。
  • 記事の末端にいくつかの脚注。

インストール

  1. Upload the ‘easy-footnotes’ folder to the ‘/wp-content/plugins/’ directory.
  2. WordPress の「プラグイン」メニューからプラグインを有効化してください
  3. あとは記事内でショートコードを使うだけです。 [efn_note]脚注の内容をここに。[/efn_note]

FAQ

投稿に脚注を挿入するにはどうすればいいのですか

単にショートコードを使うだけです。 [efn_note]脚注の内容をここに[/efn_note] すると Easy Footnotes は番号付きの脚注を投稿内に挿入し、カーソルを乗せると脚注が開き、クリックするとページの下部の脚注に移動します。

これはいいです !

よく分かっています。でも質問ではないですね笑

こんなにいいのはなぜ ?

簡単だからです。qTip2 jQuery プラグインが統合されており、カーソルを乗せると素敵なツールチップを表示します。自動で番号もつきます。

How can I change the markup for the footnote label?

Just use the efn_footnote_label filter in your functions.php to edit the output.

    function efn_change_label_markup( $output, $label ) {
        return '' . $label . '';
    }
    add_filter( 'efn_footnote_label', 'efn_change_label_markup', 10, 2 );

qTip の機能を無効にするには ?

ファイル functions.php に以下のコードを挿入し、qTip の機能を無効にできます。

    function efn_deregister_scripts() {
        wp_deregister_style( 'qtipstyles' );
        wp_deregister_script( 'imagesloaded' );
        wp_deregister_script( 'qtip' );
        wp_deregister_script( 'qtipcall' );
    }
    add_action( 'wp_enqueue_scripts', 'efn_deregister_scripts' );

評価

2023年5月26日
I have finished the Korean translation.I just want to say thank you for developing such a good plugin.And I hope it will be translated into more languages so that many WordPress users can use it conveniently. Easy Footnotes 한국어 번역을 모두 마쳤습니다.좋은 플러그인을 개발해 주어서 고맙다는 인사를 전하고 싶습니다.그리고 보다 많은 언어로 번역되어 많은 워드프레스 사용자들이 편리하게 사용할 수 있기를 바랍니다.
2021年5月29日
As simple as good plugin. Nothing wore required. Thank you to the developers.
2020年6月20日
This plugin came in extremely handy when I was recently marking up a long post with art, text and footnotes for my site on Chris Marker. I can verify as well that it even works within the now quite popular Elementor visual builder. I cannot say for sure yet but the paragraphs that contain EFN shortcodes seem to load more slowly than regular paragraphs; perhaps there is some code optimization in order, but I will leave that to your developers. I would also like to recommend some additional CSS for those who would like a numerical marker, already small due to the sup tag, to stand out more, by adding, for example: sup { top: -.5em; background: linen; padding: 6px; border-radius: 4px; border: 1px #ccc solid; } This will give the touch/click target a bit more room due to the padding (and therefore better UX), and visually make the footnote stand out in a pretty professional manner. Choose your own colors. Once again, excellent plugin, many thanks for saving the day!
2020年4月17日
The [efn_note] tags should be in colour and bold to make them easier to find in the text. Thank you very much for this nice work.
2019年10月8日
Install and wrap footnote content in shortcode. This plugin does everything else. E.g. Automated numbering, hover box, footnotes at end of post etc. Works well with Gutenberg. My favorite feature is being able to disable the footnote section at the bottom of the post/page and instead rely entirely on the hover box.
2019年8月10日
I had been using a similar plugin that hasn’t been updated in over 6 years. Easy Footnotes was a drop-in replacement and actually works better than the old plugin. Nice simple settings and easy to customize. 👍
32件のレビューをすべて表示

貢献者と開発者

Easy Footnotes はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Easy Footnotes” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

1.1.6

  • Removing themes.pizza references
  • WordPress 6.0.2 support
  • PHP 8.0 support

1.1.5

  • WordPress 5.5 compatability

1.1.4

  • Fixing typo on FAQ page

1.1.3

  • Adding div.easy-footnote-title into $footnote_label for filtering with efn_footnote_label

1.1.2

  • Fixed issue with default settings not being set on new installations
  • Added conditional logic check if settings exist to avoid PHP Warnings
  • Fixed undefined index of $efn_output when not using Easy Footnotes label

1.1.1

  • Added efn_footnote_list_output filter for editing entire Easy Footnote output after content
  • Updating SVN to include missing JS file

1.1.0

  • Improved accessibility for keyboard navigation of footnotes
  • Started improving code to follow WordPress Coding Standards guidelines
  • Added second option for footnotes using [efn_note] to phase out non-prefixed [note]
  • Added easy_footnote_label hook to filter footnote labels
  • Added before_footnote and after_footnote filters to add content before or after footnote lists after content.

1.0.16

  • Fixing footnote counts for the last time! (Hopefully)
  • Added post ID to footnote IDs to make them more unique
  • New setting to hide the footnotes after content in Settings > Easy Footnotes
  • Prep for a bigger update and beginning Gutenberg support

1.0.15

  • Being a noob and not testing a link added in on settings page. It works now.

1.0.14

  • CSS tweak in admin screen

1.0.13

  • Fixing PHP notice on shortcode when content not found

1.0.12

  • Changing how footnotes are numbered to avoid duplicates caused by the_content filtering being applied earlier in themes.

1.0.11

  • Fixed bug to prevent tooltips from opening off the screen

1.0.10

  • Added in extra sanitization for user inputs within admin

1.0.9

  • Fixed issue causing notice of undefined index on admin screen. Adjustment to how footnote’s handle html special chars.

1.0.8

  • Added the Qtip2 unfocus event for hiding footnotes on iPad and other touch devices.

1.0.7

  • Fixed issue where Footnote title was showing on pages without any footnotes once activated through the settings. Also changed the priority of the add_filter(‘the_content’) call to be 20 in order to show above Jetpack Related Posts

1.0.6

  • Added the ability to insert a title above the footnote section at the bottom of the post content. This is controlled in the Easy Footnotes Settings page that can be found under Settings in the WordPress Dashboard.

1.0.5

  • Updating logic for appending footnotes to the bottom of posts. Now only appends to single posts, custom post types and pages that are using the main post query. Also fixed footnote count when multiple posts are shown in the content on one page, such as the home page. Footnotes outside of the single post also now link to the footnote within the single post.

1.0.4

  • Fixed bug where footnotes were being appended to the end of the content on home pages and ignoring the more tag

1.0.3

  • Added a delay of 400ms to the footnote closing so it stays open better when hovered

1.0.2

  • I messed up the version tag on 1.0.1. Just upping ti 1.0.2 for precautions.

1.0.1

  • Footnotes now stay open when moused over for interacting with links

1.0.0

  • プラグインをリリース