FEATURE Passing an ID to ul footnote-index to facilitate javascript handling

This commit is contained in:
Nonimart 2025-06-24 12:50:35 +02:00
parent 1bd97997b5
commit 9488ccb083

View File

@ -49,7 +49,7 @@
} }
?> ?>
</ul> </ul>
<ul data-index="footnotes" class="footnotes-index" aria-hidden="true"> <ul id="footnotes-index" data-index="footnotes" class="footnotes-index" aria-hidden="true">
<?php <?php
$footnotes = build_footnotes_index_from_content(get_the_content()); $footnotes = build_footnotes_index_from_content(get_the_content());
?> ?>