How to make CloudFlare ignore Jetpack Like Button on WordPress?

wordpress
rocketloader

#1

Hello,

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.

  1. https://support.cloudflare.com/hc/en-us/articles/200169436-How-can-I-have-Rocket-Loader-ignore-specific-JavaScripts-
  2. https://wp-dreams.com/articles/2014/03/cloudflare-rocket-loader-for-wordpress/

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


#2

@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.


#3

Thank you for your response.

Look forward to the update.

Kind regards,


#4

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