Ajaxify Comments 3.0 is here and it’s a big release. Let’s go over what’s been added and fixed.
Inline lazy loading is here!
Inline lazy loading has been a highly requested feature for Ajaxify Comments. With inline loading, you have several choices of how to display the lazy loading placeholder.
With inline, you can choose to load inline in the comment section or use a custom element.
Use an inline spinner
You can use an inline spinner to show a loading spinner and loading message.
You can customize just about anything with the spinner including:
- Change the loading spinner.
- Change the spinner speed, size, color, and orientation.
- Adjust the alignment of the overall spinner, add padding, and adjust the font size.
Loading skeleton
A loading skeleton is a nice way to reserve a space in your comment section for long comments.
Here’s a quick demo video of the loading skeleton.
You can adjust the skeleton’s colors and how many loading skeletons to show.
A loading button
If automatic lazy loading isn’t your thing, you can always use a button to load in your comments.
With a loading button, you give the users control over whether they want to load in the comments or not.
Show a shortcode loader
You also have the option to display a shortcode where the loader will be. This allows you to output anything you desire.
Several bugs have been fixed
The way the scripts were loaded was inefficient, so the logic for this has been reworked. I also fixed an integration with DCO Comment Attachment.
Future roadmap
I’d like to get lazy loading stable for most people. I’ve tested about a dozen themes, including Genesis and some full-site editing themes, and everything works great. The first priority will be fixing any bugs people encounter with lazy loading.
Next, I’d really like to tackle the commenting experience when writing the comment and add some real-time validation.
That’s it for now. Please get yourself a copy of Ajaxify Comments.
Like this tutorial? There's more like it. Subscribe today!
Ronald Huereca founded DLX Plugins in 2022 with the goal of providing deluxe plugins available for download. Find out more about DLX Plugins, check out some tutorials, and check out our plugins.