Hello @rnformatics,
Welcome to the support forum! Thanks for asking these very good questions:
Where do I change the “References” text label color for the table header?
is it possible to have the footnotes show at the top of/above the footer instead of the bottom?
Yes. With the Footnotes plugin this requires always using a child theme and moving the wp_footer()
function call from the bottom to the top of the footer. I cannot speak for the theme your website will be using but in Twenty Twenty-One, wp_footer()
is called on line?71 in footer.php
https://themes.trac.www.ads-software.com/browser/twentytwentyone/1.4/footer.php#L71 and needs to be moved up, probably just after the footer’s start tag https://themes.trac.www.ads-software.com/browser/twentytwentyone/1.4/footer.php#L21, i.e. to line?22.
The most straightforward way for a plugin to output something “in” the footer is hooking it on the wp_footer
hook fired by the wp_footer()
function https://developer.www.ads-software.com/reference/functions/wp_footer/ This hook is intended to “Print[] scripts or data before the closing body tag on the front end”, i.e. after the footer. Since these scripts are invisible, and that position is only used for deferred scripts, it doesn’t matter where exactly the output is placed. But for the Footnotes reference container it does.
For what it’s worth, I apologize for not adding this information right next to the Reference container position setting, while I was on it, and even learned about this use case, on a production website! Its webmaster disclosed that he uses a child theme.
So should you. To switch to a child theme I will recommend using a plugin to generate a child theme from an installed theme. (I now always use the free Generate Child Theme by Catch Plugins. The only thing that you need to pay attention to is to never start your child theme’s name with a digit, or your website will crash like this https://www.ads-software.com/support/topic/my-website-fall-down-after-this-plugin/ That is because the theme name is used to derive a function name, and like in other languages, the first character in a PHP function name is in ranges a-z or A-Z or underscore.)
Hope this helps. Please let us know how it works out and be sure to stay in touch should you require any further support.
-
This reply was modified 3 years, 8 months ago by
pewgeuges.
-
This reply was modified 3 years, 8 months ago by
pewgeuges.