Setting "data-cfasync='true'" for google map script in Wordpress


#1

My scripts are enqueued in my Wordpress function file. I do not understand how to add “data-cfasync=‘true’” as mentioned in your support page. Help?


#2

Here’s an example for an inline script:

Here’s an example for a called javascript file:


#3

If you post here your functions file, we can take a look for you.


#4

This topic was automatically closed after 14 days. New replies are no longer allowed.