Bigfoot is showing just a series of ‘1’s instead of sequential numbers. I guess I’m not understanding what to look for in the source when Bigfoot settings says “What CSS selector separates out posts on your index pages (to force numbers to restart correctly)?:”
On an index page, what HTML element separates out posts? For example, is it article or is it #post-item etc. That tells bigfoot when to restart the clock at 1.
It’s for a static page (non blog) and I get ones for every footnote rather than an incrementing number.
Tried adding a few identifiers but it doesn’t seem to change.
I wonder if the plug-in is set for different behavior on static pages versus blog posts?
Nope, it counts on the HTML document, going back to one for each element in the separator. You can see the underlying library here: https://bigfootjs.com
The plug-in basically just loads that javascript and initializes, passing in the two parameters you can set in the configuration.
You can see what it does: plugin-bigfoot/layouts/partials/bigfoot.html at master · jsonbecker/plugin-bigfoot · GitHub
I’ve spend an hour trying various combinations, and I guess I’m not getting the right one.
it either 1) breaks Bigfoot and renders without the plugin, or 2) every footnote is “1”
Using the Mythos theme.
Heres the classes:
<main class="main-content"> <article class="post"> <header class="post-header"> <h2 class="post-title"></h2> </header> <div class="post-content">
and:
<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup>
Can you link to the page itself?
For some reason this started working. Given the code above
.post
is the setting that worked.