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

  1. John L
    Posted 3 years 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.




  2. Austin Sweeney
    Plugin Author

    Posted 3 years 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?


  3. Austin Sweeney
    Plugin Author

    Posted 3 years ago #


    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.


  4. John L
    Posted 3 years ago #

    Hi Austin,

    I posted the same post on another page.


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


  5. Austin Sweeney
    Plugin Author

    Posted 3 years 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. denelan
    Posted 2 years 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
    Plugin Author

    Posted 2 years 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
    Posted 2 years ago #

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Civil Footnotes
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic