Support » Plugin: The Gallery Shortcode » [Plugin: The Gallery Shortcode] Missing checkmarks to exclude?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Checkboxes to exclude are right next to the thumbnails in the screenshot?

    I have them on a local MAMP installation of WordPress 3.3.2, but not on my production site (which is a MU installation).

    Yeah, the checkmarks are missing. I see them in only the screenshot, but not in my dashboard.

    I’ve fixed it on my installation by changing the method that adds the JS file to use wp_enqueue_script.

    Plugin Author shazdeh

    (@shazdeh)

    Sorry for the late response; yes, the exclude option shows up beside the thumbnail.
    Does the plugin fails on Multisite? Peter could you please send me your fix?

    Yes, this is a multisite installation. My fix consists of removing

    add_action( 'wp_default_scripts', array( &$this, 'admin_script
    ' ), -1000 );

    from function __construct() and adding

    wp_enqueue_script( 'admin-gallery', $this->base_url . 'js/gallery.js', array
    ( 'jquery-ui-sortable' ), '0.1' );

    to function media_upload_gallery().

    Plugin Author shazdeh

    (@shazdeh)

    Thank you very much! I’ll add this for the next version.
    Again, thanks!

    Is there a reason why you used direct manipulation of the $scripts global instead of wp_enqueue_script()?

    Plugin Author shazdeh

    (@shazdeh)

    I tried it with wp_enqueue_script before and it failed, plugin’s custom script file didn’t load instead of the default one. So I manipulate the scripts object to replace it.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Plugin: The Gallery Shortcode] Missing checkmarks to exclude?’ is closed to new replies.