Load scripts only on posts/pages the shortcode is used on
-
Hi,
I’m only using one shortcode on one page but all the Google Map scripts are loading on every page. This is a bit of a resource hog, especially on the home page when first impressions are everything.
Are you able to provide an update where the scripts only load on the pages / posts where a Google Maps Builder shortcode is used?
- The topic ‘Load scripts only on posts/pages the shortcode is used on’ is closed to new replies.