Title: Load comments only on demand
Last modified: August 21, 2016

---

# Load comments only on demand

 *  Resolved [Teo Dragovic](https://wordpress.org/support/users/teo-dragovic/)
 * (@teo-dragovic)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/load-comments-only-on-demand/)
 * Hi,
 * I’m currently testing your plugin and it works grear but I would like to have“
   load comments” button or link below article that on click fires secondary ajax
   and loads comments so that comment are only loaded if user requests it. Is this
   possible using one of callback functions? If it’s doable could you give me example
   how to do it since I’m not very handy with AJAX.
 * Thank you
 * [http://wordpress.org/plugins/wp-ajaxify-comments/](http://wordpress.org/plugins/wp-ajaxify-comments/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [janjonas](https://wordpress.org/support/users/janjonas/)
 * (@janjonas)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/load-comments-only-on-demand/#post-4288388)
 * Hi,
    please download the most recent developer version (0.18.0) from here [http://downloads.wordpress.org/plugin/wp-ajaxify-comments.zip](http://downloads.wordpress.org/plugin/wp-ajaxify-comments.zip)
   and set the option “Trigger to load comments async” on the plugin’s setting page
   to “None”. On client-side you can call the JavaScript function `WPAC.RefreshComments()`
   to manually trigger a comment update.
 * Hope this helps…
 *  Thread Starter [Teo Dragovic](https://wordpress.org/support/users/teo-dragovic/)
 * (@teo-dragovic)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/load-comments-only-on-demand/#post-4288406)
 * Yes!
 * Worked perfectly, thank you so much

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Load comments only on demand’ is closed to new replies.

 * ![](https://ps.w.org/wp-ajaxify-comments/assets/icon-256x256.png?rev=2962290)
 * [Ajaxify Comments - Ajax and Lazy Loading Comments](https://wordpress.org/plugins/wp-ajaxify-comments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-ajaxify-comments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-ajaxify-comments/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-ajaxify-comments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-ajaxify-comments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-ajaxify-comments/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Teo Dragovic](https://wordpress.org/support/users/teo-dragovic/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/load-comments-only-on-demand/#post-4288406)
 * Status: resolved