Manual placement of Footnotes in single.php
-
Hi there,
Thanks for a great plugin!
I know you’ve been asked questions like this before, and I’ve read other posts about somewhat similar questions, but I’d like to specify in my theme precisely where the footnotes are displayed.
I’d like to not have the footnotes list included in
the_content();
so I can specify where they appear in my theme’s single.php. Would this be possible to hack?The closest I can get to displaying just the footnotes list is by using this hook below as mentioned here:
<?php global $easyFootnotes; echo $easyFootnotes->easy_footnote_after_content(the_content()); ?>
Unfortunately, the problem with that is that the footnote list also obviously includes
the_content();
too, which is undesirable, because now we have duplicate output.Is there a way to call the
easy_footnote_after_content()
function without returningthe_content();
too? Just the footnotes list?I notice the string
$efn_output
in theeasy_footnote_after_content()
function has exactly what I want in it. But how do I get that into single.php?Thank you!
- The topic ‘Manual placement of Footnotes in single.php’ is closed to new replies.