• Resolved tjedrak

    (@tjedrak)


    Hi,
    I have Helpful shortcode in the loop in every post on home page. When I click Pro or Con button, in all posts I get After voting content like “thank you for your voting…”. Should be only one post, do you know how to fix it?

    Also, I got an error (non related with my problem though):
    date_default_timezone_set(): Timezone ID ” is invali

    date_default_timezone_set()
    plugins/helpful/helpful.php:27
    plugins/helpful/helpful.php:27

    • This topic was modified 6 years ago by tjedrak.
Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Pixelbart

    (@pixelbart)

    I’ll check it out today. Can you post a link to your site?

    Thread Starter tjedrak

    (@tjedrak)

    Thanks, I have staging env here: https://one7six.co/staging/

    Plugin Author Pixelbart

    (@pixelbart)

    @tjedrak should be fixed with 2.4.16

    Normally helpful used the wordpress timezone, but for some reasons it is not working for you. Now you can set a “fallback” in the helpful settings (system)

    Javascript is also fixed (with .closest)

    Thread Starter tjedrak

    (@tjedrak)

    Wow, super fast, thank you.

    Just to let you know, I used Was This Helpful plugin bought on Codecanyon. But your is error-free and way more better.

    Plugin Author Pixelbart

    (@pixelbart)

    Good to know ??

    But my plugin is not that powerful and I honestly do not want it to be that way. Simply because it works as it should.

    Thread Starter tjedrak

    (@tjedrak)

    And that’s what I was looking for, fast and simple.

    Ok. I found another problem with AJAX loading more posts, when loaded new page, buttons don’t trigger anymore.

    The same url, updated plugin. Can you please check?

    Plugin Author Pixelbart

    (@pixelbart)

    That is not working, because ajax in ajax not working. Helpful runs with ajax.

    All scripts from helpful are loaded in the wp_footer. If posts are loaded via ajax, the wp_footer is not reachable.

    • This reply was modified 6 years ago by Pixelbart.
    Thread Starter tjedrak

    (@tjedrak)

    That’s a bummer, you are right, I forgot about it.
    Do you know if there is an option to solve it without changing code in your plugin?

    Plugin Author Pixelbart

    (@pixelbart)

    Nope. You only can use default pagination. Infinite scrolls is not working. ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘One button triggers in all posts’ is closed to new replies.