-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreadme.txt
54 lines (42 loc) · 1.75 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
=== Kebbet plugins - Shortcode for footnotes ===
Contributors: kebbet
Tags: footnote,footnotes
Requires at least: 5.8
Tested up to: 5.8.1
Requires PHP: 7.0
Stable tag: 20211005.1
License: ?
Adds a shortcode that creates footnotes in the_content and a footnote list at the end of the_content.
== Description ==
Adds a footnote shortcode without a GUI for the user to adjust the behavior.
## Usage
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.
== Changelog ==
= 20211005.1 =
* Fix class issue in list wrap div.
* Switch to ul-list when back links are active.
= 20210924.1 =
* Makes the list number a back link.
= 20210922.1 =
* Separation of logics.
= 20210921.1 =
* Stop execution of files on direct access.
* Split plugin to chunks of code for better structure.
* Use register_activation_hook
= 20210920.3 =
* Allow for filtering of settings.
= 20210920.2 =
* Extend the `link_id`-function to use up or down direction. Remove `link_slug` function, move use case to `link_id`.
= 20210920.1 =
* Typos and separation of helper functions to their own file.
= 20210919.1 =
* Initial release.