Title: Ajaxify Comments &#8211; Ajax and Lazy Loading Comments
Author: Ronald Huereca
Published: <strong>5 сар 14, 2012</strong>
Last modified: 4 сар 6, 2026

---

Search plugins

![](https://ps.w.org/wp-ajaxify-comments/assets/banner-772x250.png?rev=3099122)

![](https://ps.w.org/wp-ajaxify-comments/assets/icon-256x256.png?rev=2962290)

# Ajaxify Comments – Ajax and Lazy Loading Comments

 By [Ronald Huereca](https://profiles.wordpress.org/ronalfy/)

[Download](https://downloads.wordpress.org/plugin/wp-ajaxify-comments.3.2.2.zip)

[Live Preview](https://mn.wordpress.org/plugins/wp-ajaxify-comments/?preview=1)

 * [Details](https://mn.wordpress.org/plugins/wp-ajaxify-comments/#description)
 * [Reviews](https://mn.wordpress.org/plugins/wp-ajaxify-comments/#reviews)
 *  [Installation](https://mn.wordpress.org/plugins/wp-ajaxify-comments/#installation)
 * [Development](https://mn.wordpress.org/plugins/wp-ajaxify-comments/#developers)

 [Support](https://wordpress.org/support/plugin/wp-ajaxify-comments/)

## Description

Skip page reloads and separate error screens when posting comments. Ajaxify Comments
hooks into your native WordPress comment system and allows comment posting without
a page reload. Lazy loading comments is also supported, which can help speed up 
your page load time.

### TLDR

[Getting Started](https://docs.dlxplugins.com/v/ajaxify-comments/first-time-users/getting-started)
| [Sponsor Us](https://github.com/sponsors/DLXPlugins) | [Ajaxify Home](https://dlxplugins.com/plugins/ajaxify-comments)

Ajaxify Comments hooks into your theme and improves the usability of the comment
form by validating and adding comments without the need of page reloads. Users can
remain on the page and interact with new comments as they’re posted. This plugin
also supports lazy loading of comments, which can help speed up your page load time.

### Introduction

When submitting the comment form, WordPress by default reloads the entire page. 
This can be a disorienting experience for the user. In the case of errors in the
comment (invalid email, duplicate comment, empty comment), these often require a
separate error screen and the user has to use the back button to edit their comment.
This can be a frustrating experience for the user. Adding to that, comments can 
be resource intensive, and can slow down your page load time.

With Ajaxify Comments, comments are posted without a page reload. If there are errors,
the error message is shown immediately, so the user can correct their comment.

Ajaxify Comments also comes with lazy loading of the comments section. For a page
with a lot of comments, this can speed things up considerably. You can load comments
when the DOM is ready or when the comment section is scrolled into view.

Moreover this plugin includes an option to automatically refresh the comments on
the current page while the user stays on your page without requiring a page reload.
This can be helpful in busy comment sections where reply response time is important.

### Quick Resource Links

Here are some helpful links to help you get started with Ajaxify Comments (docs):

 1. [Getting Started Guide](https://docs.dlxplugins.com/v/ajaxify-comments/first-time-users/getting-started)
 2. [Lazy Loading Comments](https://docs.dlxplugins.com/v/ajaxify-comments/advanced-topics/lazy-loading-comments)
 3. [Menu Helper and Selectors](https://docs.dlxplugins.com/v/ajaxify-comments/first-time-users/menu-helper)
 4. [Translating Using WPML](https://docs.dlxplugins.com/v/ajaxify-comments/advanced-topics/wpml-and-translations)

### Requirements and Compatibility

Please use the native WordPress comment system with Ajaxify Comments.

The plugin has integrations with:

 1. [Confetti](https://wordpress.org/plugins/confetti/) – Show confetti when a comment
    is posted.
 2. [Comment Edit Core](https://wordpress.org/plugins/simple-comment-editing/) – Allow
    users to edit their comments.
 3. [Comment Edit Pro](https://dlxplugins.com/plugins/comment-edit-pro/) – Add numerous
    utilities and automations to your comment section.

The following themes are supported out of the box:

 1. [Astra](https://wordpress.org/themes/astra/)
 2. [Blocksy](https://wordpress.org/themes/blocksy/)
 3. Divi
 4. Genesis
 5. [Ollie](https://wordpress.org/themes/ollie/)
 6. [GeneratePress](https://wordpress.org/themes/generatepress/)
 7. [Neve](https://wordpress.org/themes/neve/)
 8. Twenty Ten – Twenty Twenty Three

Ajaxify Comments should be compatible with most block themes. If [Menu Helper](https://docs.dlxplugins.com/v/ajaxify-comments/first-time-users/menu-helper)
can’t find the selectors, please leave a support request.

### Technical Note

Since the plugin hooks into the theme on client-side 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”, “Twenty Thirteen”, “Twenty Fourteen”,“
Twenty Fifteen”, “Twenty Sixteen”. If required, the selectors can be customized 
to match your theme in the plugin’s settings.

> [Menu Helper](https://docs.dlxplugins.com/v/ajaxify-comments/first-time-users/menu-helper)
> is available to help you find the theme’s selectors.

### Features

Ajaxify Comments is community supported. If you would like to add or change anything
about the plugin, please consider assisting with the development on [GitHub](https://github.com/DLXPlugins/wp-ajaxify-comments).

 * Post comments without a page reload.
 * Show error messages without a page reload.
 * Lazy load comments, compatible with most themes, including block theme and inline
   loading.
 * Automatically refresh comments.
 * Comment form validation.
 * Support for pages with multiple comment forms.
 * Support for threaded and moderated comments.
 * Compatible with most spam plugins.
 * Menu Helper to help you find the right selectors for your theme.
 * Appearance preview to see how the plugin will look on your site.
 * Simulate Ajaxify Comments enabled or disabled for testing and to compare the 
   difference.
 * Translate and customize the default WordPress comment messages.

### Questions/Help?

Please use the [support forum](https://wordpress.org/support/plugin/wp-ajaxify-comments)
to ask questions or to report issues. If you don’t want to create an account to 
leave a support request, please use [my support form](https://dlxplugins.com/support/).

> Most questions can be resolved by checking out our docs site. [https://docs.dlxplugins.com/v/ajaxify-comments](https://docs.dlxplugins.com/v/ajaxify-comments)–
> the Search is AI, so it should be able to find what you’re looking for.

### Credits

This plugin was initially developed by Jan Jonas starting in 2012. Company [weweave](https://weweave.net/)
maintained the plugin from 2014-2022. The plugin is currently supported by Ronald
Huereca of [DLX Plugins](https://dlxplugins.com).

## Screenshots

 * [[
 * Ajaxify Comments demonstration with inline error messages displayed
 * [[
 * Info overlay after the comment has successfully been posted
 * [[
 * Error overlay with error message when posting a comment failed
 * [[
 * Settings page (for customizing the plugin)

## Installation

See: [Plugin Installation](https://docs.dlxplugins.com/v/ajaxify-comments/first-time-users/installing-the-plugin).

If you have activated the plugin and are just getting started, please see our [Getting Started](https://docs.dlxplugins.com/v/ajaxify-comments/first-time-users/getting-started)
guide.

## FAQ

### I’m using WPML. How do I translate this plugin?

WPML is an advanced topic, but we’ve put together a guide to help you [translate Ajaxify Comments using WPML](https://docs.dlxplugins.com/v/ajaxify-comments/advanced-topics/wpml-and-translations).

### Ajaxify Comments isn’t working when I install it. What’s wrong?

More than likely you need to set up your selectors. [Selectors](https://docs.dlxplugins.com/v/ajaxify-comments/advanced-topics/selectors)
are an advanced topic, which is why we’ve created Menu Helper. Menu Helper will 
help you find the right selectors for your theme. Please see our [Menu Helper guide](https://docs.dlxplugins.com/v/ajaxify-comments/first-time-users/menu-helper)
for more information.

### How do I enable lazy loading?

Lazy Loading is an advanced topic, but we’ve put together [a guide to help you understand how to enable lazy loading](https://docs.dlxplugins.com/v/ajaxify-comments/advanced-topics/lazy-loading-comments).

## Reviews

![](https://secure.gravatar.com/avatar/ec2f9373473f5ca63796d63adfb13d522b626e3158ca499e539053dd479f138f?
s=60&d=retro&r=g)

### 󠀁[Annoing audio while loading](https://wordpress.org/support/topic/annoing-audio-while-loading/)󠁿

 [zhirnov](https://profiles.wordpress.org/zhirnov/) 5 сар 15, 2025

Your freaking plugin loads and play mp3. Fix this! Audio loader location located
in file wp-ajaxify-comments\dist\wpac-frontend-menu-helper.js

![](https://secure.gravatar.com/avatar/b26cb09ba173e62b8f98664691ca6eb41714b10ac3d7ee3295b13c8ffb7d47a5?
s=60&d=retro&r=g)

### 󠀁[not compatible with wp rocket plugin](https://wordpress.org/support/topic/not-compatible-with-wp-rocket-plugin/)󠁿

 [hassan](https://profiles.wordpress.org/sangshenas/) 6 сар 19, 2024 3 replies

It’s a good plugin, but it didn’t work for me(flatsome theme) . After activating
the plugin and lazy load, site comments were visible only to the admin and not to
the guest user. After checking, I noticed that when I disable Cache Rocket, the 
comments appear for guests . The problem is probably the activation of “Delay JavaScript”
in wp-rocket or the interference of such items from js files or two lazy loading
same time..

![](https://secure.gravatar.com/avatar/9ba3c618956f99310f18e887acac93cc4609d19dd4c0e321a736f211e1eb8e53?
s=60&d=retro&r=g)

### 󠀁[Great plugin with excellent support](https://wordpress.org/support/topic/great-plugin-with-excellent-support-117/)󠁿

 [carterlando](https://profiles.wordpress.org/carterlando/) 10 сар 31, 2023

The latest major update caused some issues on my site but the developer delivered
a fix in less than 24 hours. I’ve been using this plugin for years and it’s been
working wonders.

![](https://secure.gravatar.com/avatar/96e674337855b303ae3203c9df20d40d817a30029aec5ab457ab916eeac748c8?
s=60&d=retro&r=g)

### 󠀁[Excellent plugin and great support!](https://wordpress.org/support/topic/excellent-plugin-and-great-support-115/)󠁿

 [net](https://profiles.wordpress.org/krstarica/) 10 сар 12, 2023

Very useful plugin, supported by a knowledgeable developer providing prompt support.

![](https://secure.gravatar.com/avatar/aeae37585b392c199c452e90a97225bf970e25669890a8f7130db3cc696de058?
s=60&d=retro&r=g)

### 󠀁[works out of the box, wpml compatible, great support](https://wordpress.org/support/topic/works-out-of-the-box-wpml-compatible-great-support/)󠁿

 [holle75](https://profiles.wordpress.org/holle75/) 10 сар 6, 2023

Title said it all 😉 It´s uncommon that plugins work with wpml smoothly. This one
does.

![](https://secure.gravatar.com/avatar/1aa4debab28894168f80e9b982c4f39032b32061985fe7355cdcf529473ffccc?
s=60&d=retro&r=g)

### 󠀁[The Best Comment Optimization Plugin so far!](https://wordpress.org/support/topic/the-best-comment-optimization-plugin-so-far/)󠁿

 [swagatamm](https://profiles.wordpress.org/swagatam1975/) 9 сар 29, 2023 1 reply

From my experience I can say that this plugin is the Best Comment Optimization Plugin
so far, without any bugs. I have tested “Ajaxify Comments Plugin” on two of my sites
which are heavily loaded with comments. It instantly solved all my wordpress comment
optimization related requirements in a second. It increased my website page speed
by removing “Avoid Excessive DOM size” warning from Google page speed insights. 
The author of the plugin is very cooperative and seriously solves all problems raised
by the users. I hope that the author never abandons this plugin, and keeps it updated
regularly. All the Best!

 [ Read all 91 reviews ](https://wordpress.org/support/plugin/wp-ajaxify-comments/reviews/)

## Contributors & Developers

“Ajaxify Comments – Ajax and Lazy Loading Comments” is open source software. The
following people have contributed to this plugin.

Contributors

 *   [ Ronald Huereca ](https://profiles.wordpress.org/ronalfy/)

[Translate “Ajaxify Comments – Ajax and Lazy Loading Comments” into your language.](https://translate.wordpress.org/projects/wp-plugins/wp-ajaxify-comments)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wp-ajaxify-comments/),
check out the [SVN repository](https://plugins.svn.wordpress.org/wp-ajaxify-comments/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/wp-ajaxify-comments/)
by [RSS](https://plugins.trac.wordpress.org/log/wp-ajaxify-comments/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 3.2.2

 * Released 2026-04-05
 * Fixing bug a bug where selectors could render as data, attaching a click event
   to document links, rendering them unclickable. Props to [paul@mentionlink](https://mentionlink.com/)
   for finding this bug.

#### 3.2.0

 * Released 2026-02-19
 * Security fix: Resolved header injection security issue, as well as doing some
   hardening to prevent future issues.

#### 3.1.2

 * Released 2025-07-24
 * Bug fix: Resolving translation error log messages when loading translations too
   soon.
 * Bug fix: Fixing some admin style issues with labels and required markings.

#### 3.1.1

 * Released 2025-05-10
 * Bug fix: Selector Helper wasn’t working with newer Divi themes.
 * Bug fix: Selector Helper has updated styling for dark backgrounds.
 * Bug fix: Plugin installer on Integrations tab wasn’t working due to a fatal error.
 * Bug fix: Skeleton Loader was mis-labeled in the admin.
 * Bug fix: z-index for overlay has been increased for compatibility with the Divi
   theme.
 * New: Setting Menu Helper is enabled by default. It’s very useful for first-time
   setups and continued testing.
 * New: Added Comment shortcuts to Menu Helper for viewing comments in the admin.
   A

#### 3.0.3

 * Released 2024-11-28
 * Bug fix: resolving translation errors when loading too soon.

#### 3.0.2

 * Released 2024-06-24
 * Bug fix: resolving PHP warnings if scripts are being enqueued twice (conflict
   with TOC Plus plugin).

#### 3.0.1

 * Released 2024-06-22
 * Bug fix: Comments would not lazy load if set to non-inline mode with DomReady
   as the trigger.
 * Bug fix: Inline lazy loading button did not honor its saved label.

#### 3.0.0

 * Released 2024-06-07
 * New feature: Added inline lazy loading option. Inline lazy loading supports a
   loading spinner, a loading skeleton, and a loading button. Alternatively, you
   can use a shortcode as a loading indicator for custom output.
 * New feature: Admin options for building a loading spinner, a loading button, 
   and loading skeleton.
 * Bug fix: Compatibility fix with DCO Comment Attachment and multipart forms.
 * Bug fix: Ajaxify Comments only loads when its needed now.
 * Misc: Added more compatible plugins to the Integrations tab.

#### 2.2.2

 * Released 2024-04-21
 * Removing WP Hooks dependency to prevent extra JS from loading.

#### 2.2.1

 * Released 2024-04-17
 * Bug fix: Fixing JS error with missing wp hooks dependency.

#### 2.2.0

 * Released 2024-04-10
 * Added responsive support to the message overlay in the admin.
 * Added preview support for the new responsive overlay in the admin.
 * Addeed frontend support for the new responsive overlay.
 * Added bottom and vertical-center alignment options for the message overlay.
 * Added overall overlay background color option.
 * The overlay is much easier to style now thanks to CSS variables.
 * Added Blocksy theme support for the selector helper.

#### 2.1.1

 * Released 2023-12-01
 * Fixing issue with Ajaxify loading on all pages.
 * Added better error messages for third-party plugins who use wp_die to display
   errors.
 * Added support for Comment Edit Pro.
 * [Please read the announcement post.](https://dlxplugins.com/announcements/ajaxify-comments-and-comment-edit-pro-are-now-fully-compatible/)

#### 2.1.0

 * Released 2023-10-25
 * New tabs: Added Integrations tab to showcase compatible plugins and a Lazy Load
   tab to control the lazy load options.
 * Lazy loading: Lazy Loading is now more clearly enabled or disabled via admin 
   options.
 * Lazy Loading: Added External, Comments Scrolled Into Viewport, Dom Element Reached,
   and Page Scroll Length as triggers.
 * Lazy Loading: Deprecated Viewport Trigger in favor of Dom Element and Comment
   sections reached.
 * Lazy Loading: Deprecated None option in favor of External trigger.
 * Lazy Loading: Added scroll offset for lazy loading when targeting sections or
   elements.
 * Details in the [Ajaxify Lazy Loading announcement post](https://dlxplugins.com/announcements/ajaxify-comments-2-1-0-released-with-lazy-load-improvements/).

#### 2.0.15

 * Released 2023-10-24
 * Fixing undefined callback error with OnAfterPostComment callback.

#### 2.0.14

 * Released 2023-10-20
 * Resolving Ajax compatibility issue with Ninja Forms.
 * Successfully tested with WP 6.4.

#### 2.0.11

 * Released 2023-10-06
 * Added WPML support to the plugin ([docs on how to set this up](https://docs.dlxplugins.com/v/ajaxify-comments/advanced-topics/wpml-and-translations)).
 * Added duplicate comment label setting.
 * Added support for the Ollie theme.
 * Updated Menu Helper to better support block-enabled themes.

#### 2.0.9

 * Released 2023-10-03
 * Added CSS class to overlay for easier styling.
 * Added WPML config for translatable string options.

#### 2.0.7

 * Released 2023-09-30
 * Placed `gettext` call only on comment posting, improving performance.
 * Resolved improper `functions.php` inclusion.
 * New filter for changing options before they are output as JSON.

#### 2.0.5

 * Released 2023-09-28
 * Refactoring lazy loading. It should be much more reliable now. It has been tested
   with Astra, Twenty Twenty-Three, and Genesis themes.
 * Updating Menu Helper to simulate lazy loading on or off.

#### 2.0.1

 * Released 2023-09-27
 * Lazy loading was referencing the wrong variable. This has been fixed.

#### 2.0.0

 * Released 2023-09-24
 * Renamed WP Ajaxify Comments to Ajaxify Comments in the admin. Updated branding.
 * Completely refreshed admin interface. The admin is now organized into tabs with
   quick saving and reset options.
 * Appearance tab allows for a real-time preview of the plugin’s appearance.
 * Appearance tab is a lot more user friendly, allowing for easy customization of
   the plugin’s appearance.
 * Added Support tab with helpful links to documentation and support.
 * Removed admin notice on plugins screen.
 * Replaced admin notice with contextual plugin row notice. This will display whenever
   debug mode is on, or if the plugin is disabled.
 * Added first-time-installation notice for new users who are new to setting up 
   the plugin.
 * Added synthetic callback events for the available callbacks. This allows developers
   to hook into the plugin’s events without having to modify the plugin’s code.
 * Callbacks have a slightly more secure implementation and execution.
 * Added a tool called Selector Helper, which will help users find the right selectors
   for their theme.
 * Please [read the announcement post](https://dlxplugins.com/announcements/ajaxify-comments-2-0-is-released/)
   for more information.

#### 1.7.5

 * Released 2023-08-30
 * Ensuring compatibility with WordPress 6.3.

## Community plugin

This plugin is developed and supported by a community. [Contribute to this plugin](https://github.com/DLXPlugins/wp-ajaxify-comments)

## Meta

 *  Version **3.2.2**
 *  Last updated **3 өдөр ago**
 *  Active installations **3,000+**
 *  WordPress version ** 6.5 or higher **
 *  Tested up to **7.0**
 *  PHP version ** 7.2 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/wp-ajaxify-comments/)
 * Tags
 * [ajax](https://mn.wordpress.org/plugins/tags/ajax/)[comments](https://mn.wordpress.org/plugins/tags/comments/)
   [errors](https://mn.wordpress.org/plugins/tags/errors/)[lazy load](https://mn.wordpress.org/plugins/tags/lazy-load/)
   [refresh](https://mn.wordpress.org/plugins/tags/refresh/)
 *  [Advanced View](https://mn.wordpress.org/plugins/wp-ajaxify-comments/advanced/)

## Ratings

 4.8 out of 5 stars.

 *  [  84 5-star reviews     ](https://wordpress.org/support/plugin/wp-ajaxify-comments/reviews/?filter=5)
 *  [  2 4-star reviews     ](https://wordpress.org/support/plugin/wp-ajaxify-comments/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/wp-ajaxify-comments/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wp-ajaxify-comments/reviews/?filter=2)
 *  [  4 1-star reviews     ](https://wordpress.org/support/plugin/wp-ajaxify-comments/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-ajaxify-comments/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wp-ajaxify-comments/reviews/)

## Contributors

 *   [ Ronald Huereca ](https://profiles.wordpress.org/ronalfy/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wp-ajaxify-comments/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://github.com/sponsors/DLXPlugins)