Here you will find the solution!
WordPress Comment Replies Not Working
Problem: When you click on the Reply link in the WordPress comments, nothing happens. The view just jumps down a bit. If you then scroll down to the comment form and reply, the comment is not ranked as an answer, but is inserted at the bottom.
Expected behavior: When clicking on the Reply link, the comment form should appear directly below the comment to be replied to. After submitting, the new comment can be seen indented under the parent comment.
Solution: Cloudflare Rocket Loader Ignore
I searched for a solution for a long time and first suspected my caching plugin WP Rocket. However, I was wrong.
Then it occurred to me that I use the Cloudflare CDN and have the Rocket Loader feature active, although problems with WordPress are known.
You can find the options in Cloudflare > Speed > Optimization > Rocket Loader.
After some tests, I was able to quickly narrow down the Rocket Loader as the cause of the problem.
But you should have Rocket Loader active, because the feature makes your WordPress site much faster!
Perfect, that’s exactly what I need!
Directly in the theme or child theme, I don’t want to change that. So I need a WordPress filter that inserts the Attibut for me. I found what I was looking for on Stackoverflow.
To solve the problem, paste the following code into your functions.php file of your theme:
What does the Rocket Loader do?
- Time to First Paint (TTFP)
- Time to First Contentful Paint (TTFCP)
- Time to First Meaningful Paint (TTFMP)
- Document Load
Why you should activate the Rocket Loader
If there is a problem, as with the WordPress comment answers, there is always a solution.
Best WordPress Hosting
Hosting recommendations are usually garbage.
Often extremely cheap hosting packages for $ 3 are recommended, others advertise a $ 100 VPS, because they earn the most as an affiliate thereby. In the end, we all just want the fastest possible web space for as little money as possible.
And optimized for WordPress!
What else is important? The server should be a fast backbone for your website and the support should answer as fast as possible, and preferably in your language.
You can get all this at Cloudways from $ 10,00 / month.
Conclusion: Comment Reply does not work
WordPress errors are annoying and time-consuming because many plugins and external services make it massively difficult for troubleshooters. If the error is found, a solution still has to be found.
For the WordPress problem, the non-functioning of the answer link, the Rocket Loader from Cloudflare is to blame. With a short snippet in the functions.php, the problem can be easily solved.