• Resolved cahweb

    (@cahweb)


    Hello,

    I am experiencing an issue where the footnotes that appear at the bottom repeat themselves. For example if I have [efn_note] Test Note 1 [/efn_note] *text* [efn_note] Test Note 2 [/efn_note] it would appear at the bottom:
    1. Test Note 1
    2. Test Note 2
    3. Test Note 1
    4. Test Note 2

    This also causes the numbering of the footnotes in the posts to be incorrect. It appears the issue may have something to do with the get_header() function as when I omit function the plugin works correctly, but I don’t have a header. Any assistance would be greatly appreciated!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Jason Yingling

    (@yingling017)

    Hi @cahweb,

    Do you have a link to a page where I can view the issue?

    I would imagine there is another plugin that is doing something with the_content function and causing the filter Easy Footnotes connects to to run twice.

    Thread Starter cahweb

    (@cahweb)

    Hi @yingling017 ,
    Thanks for the quick response. Here’s a link showing the issue I am experiencing https://dev.cah.ucf.edu/test-footnote-page/

    Plugin Author Jason Yingling

    (@yingling017)

    @cahweb are you using the most up to date version of the plugin? That would be version 1.1.4.

    And could you let me know what theme you’re using or any plugins that may effect the content of a post.

    Thread Starter cahweb

    (@cahweb)

    Yes, I’m using the most up to date version of the plugin. The theme I am using is UCF College theme found at https://github.com/UCF/Colleges-Theme. I’m not using any plugins that would affect the content of the post.

    Plugin Author Jason Yingling

    (@yingling017)

    @cahweb could you let me know what plugins you’re using? I downloaded the theme and I’m not having the same numbering issue with just Easy Footnotes and your theme. Which leads me to believe there is a plugin conflict.

    I also noticed the hover for the footnotes isn’t working which seems to be due to your theme overwriting the core version of jquery included with WordPress.

    It seems if you include a recent version of jquery-migrate it can solve the issue as dequeueing the core jquery causes jquery-migrate to dequeue as well. I ran a test and was able to get it working with jquery-migrate 3.0.1.

    That said it looks like the qTip2 library Easy Footnotes uses is not being updated so I’ll also be exploring new jquery tooltip libraries in the future.

    But if you can get me the plugins you’re using I can test against any that are freely available to try to determine the cause of the conflict.

    Thread Starter cahweb

    (@cahweb)

    @yingling017 Hi, it ended up being an issue with a plugin we had developed that adds links for our social media accounts at the end of the content. Thank you for the quick response and assistance!

    • This reply was modified 5 years, 7 months ago by cahweb.
    Plugin Author Jason Yingling

    (@yingling017)

    Got it. If you find a solution I’d love to see what it is and see if I can implement something to prevent similar issues in the future.

    Plugin Author Jason Yingling

    (@yingling017)

    I was taking a look at the social plugin to see if I could solve the issue and it seems it is tied to the plugins use of do_shortcode( $content ); that is being used. Which is basically running all the shortcodes within the plugins, but since it’s outside the_content(); function the Easy Footnotes reset isn’t working to update the counter.

    I’ll have to give it some thought.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Incorrect Numbering and Duplicate Footnotes’ is closed to new replies.