Simple Google Maps Short Code
[resolved] Google API script enqueue (2 posts)

  1. Daniel Gilfoy
    Posted 3 years ago #

    Love the simplicity of this plugin!

    Though, is there any way you'd add an option to remove auto-loading of the google maps api script and enqueue it only in the shortcode? Or, better yet, just add an action hook in the shortcode function which would allow me to deregister it globally and enqueue it through the hook.



  2. Pippin Williamson
    Pippin's Plugins and Plugin Reviewer
    Plugin Author

    Posted 3 years ago #

    Whoops! Sorry for missing this.

    Are you just wanting to limit the script to pages that have a map on them?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simple Google Maps Short Code
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.