Support » Plugin: WP Ajaxify Comments » Refresh comments with ajax?

  • Resolved andy999


    Let me start by saying that this plugin is fantastic, got it working great for a site I’m building at the moment(even after wrestling with the styling on blockUI).

    I’m wondering if it’d be possible to add ‘refresh all comments’ with ajax, so people can refresh the entire comments section without the page reloading?
    Much like the sort of functionality you see on systems like livefyre etc.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author janjonas


    Hi andy999,

    thanks for your comment. Please try out the new developer version 0.12.0 from here
    This version includes an extended client-side JavsScript API.
    You can use the function
    to refresh the comments on the current page.

    Hope this helps …

    Plugin Author janjonas


    0.12.1 was released yesterday. I think the topic is resolved.

    How do I use WPAC.RefreshComments() to refresh the comments?

    I have no idea where to write that or put it.

    Plugin Author janjonas


    You need to add some JavaScript client side code to your page. You can use for example the JavaScript code to refresh the comments every 5 seconds 5:

    window.setInterval('WPAC.RefreshComments();', 5000);

    Hope this helps…

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Refresh comments with ajax?’ is closed to new replies.