You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Footnotes should only use the same number and be combined into a single footnote in the after content if the user selects a setting in the options page to "Combine duplicate footnotes"
The text was updated successfully, but these errors were encountered:
Fixes#28
Add an option to combine duplicate footnotes and use the same number for the footnote.
* Add a new checkbox input for "Combine duplicate footnotes" in the form in `easy-footnotes-admin.php`.
* Update the `$updateOptions` array and the `$easyFootnoteLabel` and `$easyFootnoteCheck` variables in `easy-footnotes-admin.php` to include the new setting.
* Add a check for the new setting in the `easy_footnote_shortcode` function in `easy-footnotes.php`.
* Update the logic in the `easy_footnote_shortcode` function in `easy-footnotes.php` to handle combining duplicate footnotes based on the new setting.
* Add a new setting to the `$footnoteSettings` array in `easy-footnotes.php` for "combine_duplicate_footnotes".
---
For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/jasonyingling/easy-footnotes/issues/28?shareId=XXXX-XXXX-XXXX-XXXX).
Footnotes should only use the same number and be combined into a single footnote in the after content if the user selects a setting in the options page to "Combine duplicate footnotes"
The text was updated successfully, but these errors were encountered: