Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author defomicron

    (@defomicron)

    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

    Plugin Author defomicron

    (@defomicron)

    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

    Thread Starter John L

    (@glutenfreeworks)

    Hi Austin,

    I posted the same post on another page.

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

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

    -John

    Plugin Author defomicron

    (@defomicron)

    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.

    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?

    Plugin Author defomicron

    (@defomicron)

    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.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Not all quotes are becoming footnotes’ is closed to new replies.