WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Daniel Gilfoy
    Member
    Posted 1 year 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.

    Thanks!

    http://wordpress.org/extend/plugins/simple-google-maps-short-code/

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

About this Topic

Tags

No tags yet.