=== Inline Footnotes ===
Contributors: snehalpancholi
Tags: footnotes, shortcode, references, citations
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.1
Stable tag: 1.0.0
License: GPL-2.0+
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Add numbered inline footnotes to post content with hover tooltips and auto-generated back-linked footnote lists.

== Description ==

Inline Footnotes provides a lightweight [fn] shortcode for embedding numbered footnote references directly in post content. Each reference renders as a superscript number with a hover tooltip. A formatted footnote list with back-links is automatically appended after the post content.

**Features:**
* `[fn]Note text[/fn]` shortcode — wrap any text to create a footnote
* Hover tooltip previews the note without leaving the page
* Auto-generated numbered footnote list appended to post
* Back-links from each footnote to its reference
* Keyboard accessible — tooltip visible on focus
* Works with Classic and Block editors
* Semantic HTML: `role="doc-noteref"`, `aria-label` attributes
* No external dependencies

== Installation ==

1. Upload `inline-footnotes` to `/wp-content/plugins/`.
2. Activate via the Plugins screen.
3. In your post content, wrap footnote text: `[fn]This is a note.[/fn]`

== Frequently Asked Questions ==

= Can I use HTML inside the footnote? =
Yes. Basic HTML like `<a>`, `<em>`, `<strong>` is allowed and sanitized via `wp_kses_post`.

= Can I use it in the block editor? =
Yes. Add a Shortcode block and insert `[fn]...[/fn]`, or use it inside any Custom HTML block.

= Are footnotes reset per post? =
Yes. Each time `the_content` runs, the counter resets so numbers start from 1 on every post.

== Changelog ==

= 1.0.0 =
* Initial release.
