Support » Plugin: Gallery to Slideshow » [Plugin: Gallery to Slideshow] How to disable plugin on specific page

  • Resolved CarolineElisa

    (@carolineelisa)


    Hi there,

    I would like to disable this plugin on a specific page, so that the [gallery] shortcode displays the default WordPress gallery, i.e. a grid of thumbnails linking to full-size images.

    I tried removing the plugin files from the footer using the code below in my functions.php, but that still loads the html, just doesn’t display the images…

    add_action( 'wp_print_scripts', 'my_deregister_javascript', 100 );
    function my_deregister_javascript() {
    	if ( is_page('Street style') ) {
    	wp_deregister_script( 'gallery-to-slideshow' );
    	}
    }

    Hope someone can help!

    http://wordpress.org/extend/plugins/gallery-to-slideshow/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Matt

    (@sksmatt)

    Hi CarolineElisa,

    You should remove all filters from post_gallery and then attach back the default from WordPress.

    Kind Regards!

    try “Plugin Organizer” plugin by Jeff Sterup. You have to enable “Selective Plugin Loading” (make sure to follow their directions given for enabling it)

    Then in your post/page editor there is a box below the compose window with tickboxes to disable for that page

    took me over 20 Google and WordPress plugins repository searches to finally find a simple solution. Hope it works for you too!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Gallery to Slideshow] How to disable plugin on specific page’ is closed to new replies.