Support » Plugin: Ajaxize » Ajaxize for WP Post Views (bis)

  • Resolved evo252

    (@evo252)


    Hi Yoav!

    I’m using your awesome plugin with WP Post Views plugin, since this plugin doesn’t increment by himself the counter (even with ajax updates of the plugin, strange…). Very happy of this plugin and I’m very grateful for the help you’ve given to me since 3 years 🙂

    The counter runs very well thanks to Ajaxize in single posts, however, it would be nice to let it run on homepage too! In fact, in the homepage where there is a list of posts, all the counters display the same number (counter of the first post of the page, I presume it’s because Ajaxize plugin ajaxifies the function (that is the same in every post of the loop) and cannot identify every post count as a separate function). Do you think it’s possible to make it ajaxify every count separately?

    If not, it’s not important, I’ll continue to use Ajaxize plugin on single posts, and the native WP Post Views function on index.php (finally, when a post is published, cache is cleared and the good count is incremented). But I was wondering if maybe there was a solution for this.

    In all cases, thank you very much for your help and your great plugin!

    https://wordpress.org/plugins/ajaxize/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author yoav.aner

    (@yoavaner)

    Hi evo252,

    Nice to hear from you again, and thanks for your kind and positive message.

    Unfortunately I don’t think what you’re trying to achieve is very easy with Ajaxize. As you said, it ajaxifies the function and the function is shared across all posts. Ajaxize does not support passing any parameters for a variety of reasons, and I don’t plan to have this feature since it will make things much more complicated. Simplicity is one of my goals, even if it means less functionality.

    So, it looks to me like you’ll need to write some custom javascript / php code to achieve what you want, or use a counter plugin that supports ajax better. I can’t think of a simple solution to this unfortunately.

    Cheers
    Yoav

    Hi Yoav,
    Thanks for your reply!
    No problem, it was just a question and it’s not a big problem! I continue to use Ajaxize plugin since it’s the better solution I found. Thanks again for your great work!

    Plugin Author yoav.aner

    (@yoavaner)

    Hi evo252,

    I wish there was an easy solution for this, but I can’t think of anything right now. I’m glad you understand.

    Cheers
    Yoav

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Ajaxize for WP Post Views (bis)’ is closed to new replies.