angus
(Angus McLeod)
March 16, 2021, 1:43am
2
Hey @Ridhima_Sharma , did you check out the notes I added to tips and tricks in response to your similar request back in February? Or are you trying to achieve something else now?
This topic has a number of tips and tricks for users of the WP Discourse WordPress plugin.
Adjust the comments_number sync period for WordPress archive pages
To get the correct number of Discourse comments for a post, the plugin needs to periodically make an HTTP request to Discourse to get the current comments number. On single pages this period is set to be no more often than every 10 minutes. For archive pages the period is set to no more than once every 24 hours. The reason for this is to a…