Stable release v2.0.8 with both critical changes reverted

git-svn-id: https://plugins.svn.wordpress.org/footnotes/tags/2.0.8@2413937 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
pewgeuges 2020-11-06 14:20:33 +00:00
parent 362d9e60c6
commit 8eb55683d0
12 changed files with 164 additions and 75 deletions

View file

@ -0,0 +1,28 @@
MCI Footnotes WordPress plugin
NOTE FOR WEBMASTERS
Added: 2020-11-06T0424+0100
Last modified: 2020-11-06T0431+0100
About the public templates
Template "reference-container-body.html"
class/task.php(481)
css/public.css
Supported placeholders:
[[post_id]] makes the footnote ID unique for infinite scroll
[[id]] footnote number (1-based integer)
[[arrow]] symbol alone, for backwards compatibility
[[index]] footnote index alone (or comma-separated enumeration) for backwards compatibility
[[arrow-index]] new compound string starting with the arrow hidden in print
wrapping each index in a no-break span, example:
<span class="footnote_index_item"><span class="footnote_index_arrow">&#8593;&#x200A;</span>4,</span> <span class="footnote_index_item">5,</span> <span class="footnote_index_item">6,</span> <span class="footnote_index_item">7,</span> <span class="footnote_index_item">8,</span> <span class="footnote_index_item">9,</span> <span class="footnote_index_item">10,</span>
[[text]]

View file

@ -1,13 +1,10 @@
<tr>
<td
id="footnote_plugin_reference_[[post_id]]_[[id]]"
class="footnote_plugin_index footnote_plugin_link"
id="footnote_plugin_reference_[[post_id]]_[[id]]"
onclick="footnote_moveToAnchor_[[post_id]]('footnote_plugin_tooltip_[[post_id]]_[[id]]');"
><a
><span
class="footnote_plugin_index_arrow"
>[[arrow]]&#x200A;</span
>[[index]].</a
>[[arrow-index]]</a
></td>
<td
class="footnote_plugin_text"