WordPress.org

Ready to get started?Download WordPress

Forums

Civil Footnotes
[resolved] Not all quotes are becoming footnotes (8 posts)

  1. John L
    Member
    Posted 1 year ago #

    I am using the same technique for each footnote, yet some become footnotes and some remain ((...))

    Here is the webpage. http://health.glutenfreeworks.com/2013/05/24/celiac-disease/

    Please advise.

    Thanks!

    John

    http://wordpress.org/extend/plugins/civil-footnotes/

  2. Austin Sweeney
    Member
    Plugin Author

    Posted 1 year ago #

    Hi John,

    I don't see any footnotes on that page. Are you putting a space before the start of the footnote? That's a common mistake.

    If that's not it, can you elaborate or provide an example?

    Thanks,
    Austin

  3. Austin Sweeney
    Member
    Plugin Author

    Posted 1 year ago #

    John,

    I took a closer look, and my best guess is it has something to do with your paywall. Since I can't see the rest of your article, I can't diagnose the problem here.

    Though I would guess whatever you're using to truncate posts and display the subscribe buttons is interfering with the footnotes.

    Austin

  4. John L
    Member
    Posted 1 year ago #

    Hi Austin,

    I posted the same post on another page.

    http://glutenfreeworks.com/gluten-disorders/celiac-disease/

    This has no paywall, yet I am getting the same results.

    -John

  5. Austin Sweeney
    Member
    Plugin Author

    Posted 1 year ago #

    I see that the footnotes that aren't working are wrapped in a <span> element. It should still work as long as you have the following:

    <span> ((This is a footnote.))</span>

    However, that space is crucial. This:

    <span>((This is a footnote.))</span>

    Will not work. On that note, however, I don't really understand why you'd want to wrap it in a <span>. I would suggest removing the <span> entirely.

  6. Troela
    Member
    Posted 10 months ago #

    I've made some changes to the footnotes.php; changed backlink language and somr text in front of the list of footnotes. This works great.

    The thing that I wasn't able to do is to add a target to the link, to open in a new browser window.
    I've tried to add the target to the link within the brackets, but it ends up in the link like: "target="_blank"" and doesn't work anymore.

    Any idea how to work around this?

  7. Austin Sweeney
    Member
    Plugin Author

    Posted 10 months ago #

    If you changed line 104:

    $id_replace = '<sup id="'.$id_id.'"><a href="'.$id_href.'" title="'.$id_title.'">'.$id_num.'</a></sup>';

    To this:

    $id_replace = '<sup id="'.$id_id.'"><a href="'.$id_href.'" title="'.$id_title.'" target="_blank">'.$id_num.'</a></sup>';

    You should achieve your desired result. However, since the plugin only links to another position within the same document, I'm not sure why you'd want it to open in another window/tab.

  8. jzn21
    Member
    Posted 7 months ago #

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic