Support » Plugin: WP-Footnotes » [Plugin: WP-Footnotes] Choose where to put footnotes on page

Viewing 15 replies - 1 through 15 (of 25 total)
  • I agree that this is a problem because there are lots of other plugins that insert things at the end of the post but before the footnotes, such as social sharing buttons, or GD rating buttons.

    Does anyone have to knowhow to implement this quick fix?

    Chris Brennan

    (@chrisbrennan)

    Did you ever figure out a fix for this? I’m having the same issue.

    huyz

    (@huyz)

    There seems to be enough demand that I should take a look at the code.

    Chris Brennan

    (@chrisbrennan)

    Yeah, not just on this footnote plugin, but it seems to be a common request for other footnote plugins as well. It doesn’t look like anyone has been able to deliver yet though.

    huyz

    (@huyz)

    Silly me, it’s a simple fix: they already have an option called priority.
    Change the default 11 to 1, and you’re set.

    turkeyphant

    (@turkeyphant)

    Sorry but how does that help the issue?

    huyz

    (@huyz)

    @turkeyphant Sorry, I misread what you wrote. I guess you want to put the footnotes in the middle of the content? I just wanted the footnotes at the end of the content but before the other plugins.

    @chris Brennan are you looking for the same thing as turkeyphant?

    turkeyphant

    (@turkeyphant)

    @huyz – I wanted to position them at arbitrary positions within the content.

    Chris Brennan

    (@chrisbrennan)

    @huyz – Yes, I’m looking for the same thing as turkeyphant. I’m writing encyclopedic articles in which I want to put a bibliography after the endnotes, so I would like to be able to place the endnotes in other locations on the page. It seems like a shortcode would be the best way to accomplish this, although I’m not sure how to modify the plugin to accomplish this. It seems like a feature that users of other footnotes plugins are requesting as well, although so far no one has been able to deliver.

    huyz

    (@huyz)

    After some investigation, I don’t think it would be very hard.

    1. Use a “fake” shortcode, i.e. one that you don’t register
    2. add_filter(“the_content”, …) in order to preg_replace the fake shortcode with the footnotes
    3. the footnotes are what comes out of the process() function
    4. If there is the shortcode, then don’t output the footnotes in it usual place, i.e. below the content

    If there are no surprises, this is maybe 1-2 hours.

    turkeyphant

    (@turkeyphant)

    Any news, huyz?

    huyz

    (@huyz)

    I was hoping someone else would do it, because I have so many other things on my plate. 🙂
    That’s why I gave the above instructions.

    I guess you folks are waiting on me then.
    Ok, I’ll see what I can do, then.

    huyz

    (@huyz)

    Ok, done. You can now use a [footnotes] shortcode anywhere on the page with my modifications.

    Check out: http://huyz.us/2011/wordpress-footnotes-anywhere-in-the-content/

    huyz

    (@huyz)

    @chris Brennan
    Can you show me posts where others may have requested this feature? I’d like to notify them.

Viewing 15 replies - 1 through 15 (of 25 total)
  • The topic ‘[Plugin: WP-Footnotes] Choose where to put footnotes on page’ is closed to new replies.