How to make CloudFlare ignore Jetpack Like Button on WordPress?


Rocket Loader module of Cloudflare seems to be interfering with the Jetpack Like button on WordPress.

For the Rocket Loader module to ignore asynchronously loading the Jetpack Like Button javascript, certain parameters need to be set for that script. The following resources explain it but I am afraid, it does not provide the specific code for ignoring Jetpack Like button.

  2. Controlling Cloudflare Rocket Loader for WordPress | WordPress Dreams

If this assessment seems right, could someone here please help with the corresponding code to insert in functions.php file such that Rocket Loader ignores the Jetpack Like button script from loading asynchronously?

Thank you,
Kind regards

@backpackingseries we have seen a report of this previously and we’re considering if there’s a workaround here. For now keep Rocket Loader disabled for pages with this like button and I’ll update you when we know more.

1 Like

Thank you for your response.

Look forward to the update.

Kind regards,

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.