WordPress.org

Ready to get started?Download WordPress

Plugin Directory

WP-Ajaxify-Comments

WP-Ajaxify-Comments hooks into your comment form and adds AJAX functionality - no page reloads required when validating, posting or updating comments

When submitting the comment form, WordPress by default reloads the complete page. In the case of an error (e.g. an invalid e-mail address or an empty comment field) the error message is shown on top of a new (blank) screen and the user has to use the browser's back button to correct the comment form and post the comment again. The WP-Ajaxify-Comments WordPress plugin hooks into any WordPress theme and adds AJAX functionality to the comment form: When the comment form is submitted, the plugin sends the data to the WordPress backend without reloading the entire page. In the case of an error, the plugin shows a popup overlay containing the error message and the user can correct the comment form without navigating back. If the comment was posted successfully, the plugin adds the (new) comment to the list of existing comments without leaving the page and shows an information overlay popup. Moreover this plugin includes an option to automatically refresh the comments on the current page (if the user is "idle") without a page reload.

Live demo: You can try out a live demo in the blog post I've written for the initial release of the plugin.

Since the plugin hooks (on client-side) into the theme to intercept the comment form submit process, and to add new comments without reloading the page, the plugin needs to access the DOM nodes using (jQuery) selectors. The plugin comes with default values for these selectors that were successfully tested with WordPress' default themes "Twenty Ten", "Twenty Eleven", "Twenty Twelve".

Summarized, the WP-Ajaxify-Comments plugin hooks into your theme and improves the usability of the comment form by validating and adding comments without the need of complete page reloads.

Important: If the plugin does not work out of the box with your theme, custom selectors could be defined in the plugin's admin frontend. If you don't succeed in configuring the proper selectors please don't hesitate to ask a question in the plugin's support forum or send me a private message. The plugin is highly customizable and I'm aware of only a few conflicts with any themes or other plugins that cannot be resolved (see "Known incompatibilities" in the FAQ section). I would kindly ask you make a small (PayPal) donation when I'm able to find a working configuration for your customized WordPress page. All donations will secure future development and support of the plugin. Thanks in advance! You can find more troubleshooting information on the FAQ page.

Some features of the plugin:

  • Actively developed and supported
  • Validating and adding comments without page reloads
  • Seamless integration in almost every theme (default options should work with most themes)
  • i18n support (included localizations for ar, ca, da-DK, de-DE, es-ES, fa-IR, fr-FR, he-IL, hu-HU, nl-NL, pl-PL, pt-BR, ru-RU, sk-SK, tr-TR, uk, vi-VN, zh-CN)
  • Support for customizing (default) WordPress messages
  • Support for threaded comments
  • Support for comments that await moderation
  • Support for pages with multiple comment forms
  • Compatibility with comment spam protection plugins and other plugins that extend/manipulate the comment form
  • Admin frontend to customize the look and feel
  • (Automatic) fallback mode uses complete page reloads if the plugin is not configured properly or any incompatibility is detected
  • Client-side JavaScript API (see FAQ for more details)
  • Auto updating comments if user is "idle"
  • Option to load comments asynchronously with secondary AJAX request if page contains more than a specified number of comments
  • Debug mode to support troubleshooting

Requires: 3.1.3 or higher
Compatible up to: 3.8.3
Last Updated: 2014-4-6
Downloads: 48,140

Ratings

4 stars
4.9 out of 5 stars

Support

6 of 12 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,2,2 100,2,2 100,1,1 100,1,1 100,1,1 100,2,2 100,1,1
100,1,1 100,1,1 100,2,2 100,1,1 100,2,2 100,1,1 100,1,1 100,1,1 100,1,1
100,4,4 100,2,2 100,1,1 100,1,1 100,1,1 100,1,1
100,3,3 100,1,1
100,1,1 100,1,1 100,1,1
100,1,1 67,3,2 100,1,1 100,1,1 100,2,2 100,2,2 50,4,2
100,1,1 100,1,1
100,1,1
100,1,1 100,1,1
100,1,1 100,1,1
100,2,2
100,3,3 100,2,2