Skip to content

kebbet/kebbet-shortcode-footnotes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kebbet plugins - Shortcode for footnotes

Adds a shortcode that creates footnotes in the_content and a footnote list at the end of the_content.

How to use

Use like this [fn]The footnote content[/fn]. Automatic numbering without any options. One set of notes per post.

Filters

  • kebbet_shortcode_footnote_name Allow for changing the shortcode.
  • kebbet_shortcode_footnote_note_class Change the sup-note class.
  • kebbet_shortcode_footnote_link_title Enable or disable link title.
  • kebbet_shortcode_footnote_slug Modify the slug in the links.
  • kebbet_shortcode_footnote_list_title Modify the list header.
  • kebbet_shortcode_footnote_list_title_tag Change the title tag (header level) for the list.
  • kebbet_shortcode_footnote_list_back_link Enable or disable link back to source.
  • kebbet_shortcode_footnote_list_wrap_class Modify the wrapper class for the list section.

Author