• Daimoch

    (@daimoch)


    Hey folks,

    first of all: great plugin. Thanks for that!

    Now my problem: When i don’t check the_post as hook within the plugins options, the footnotes work but the counter of the footnotes starts with 1 on every single page if my post is paginated.

    If i do check the_post as hook the footnotes are counted correctly on page 2, 3, 4 etc. BUT there are no references at the end of the page. The footnotes are only within the tool tip and no references at the end of the page. If i check the option “show footnotes at end of post” the references are visible but all references are visible at once.

    How can i fix this?

    Regards

    https://www.ads-software.com/plugins/footnotes/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Daimoch

    (@daimoch)

    Okay, i’ve done a little research.

    If i check the_post within the expert settings, in the function ReferenceContainer() the a_arr_footnotes is empty so the reference container is empty too.

    I think there’s a bug in the plugin. I get no reference container with the the_post option. But when i don’t use this function my footnotes always start with the number 1 on each page of my paginated post.

    Edit:
    The option the_content():
    I’m on page 2 of my paginated post. When i var_dump $a_arr_Footnotes at the beginning of function search() it returns 1.

    The option the_post():
    $a_arr_Footnotes returns 5. That’s correct because on page 1 there are 4 footnotes.

    Plugin Contributor Stefan Herndler

    (@aricura)

    Hi,

    first of all sorry for the delay.
    Our Plugin isn’t designed for paginated posts. We will have to do some research about that. Hopefully we can improve our Plugin in the next release versions introducing the support of paginated posts.

    Thread Starter Daimoch

    (@daimoch)

    Hi Stefan,

    thanks for the answer. I really would like you to add pagination support. My client is killing me right now because he wants..yeah..he wants the impossible. You know what i mean. ??

    I’ve tried to “hack” your plugin for pagination support but i don’t get it.

    I mean it works with paginated post but the problem is that the number of the counter doesn’t count up or down when switching the page. I think that’s not so hard to fix.

    Thank you! Great plugin and great support!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Issues with WordPress Hook the_post’ is closed to new replies.