• Resolved nicksoper

    (@nicksoper)


    I am using “jQuery Lightbox For Native Galleries”, it works well, but it conflicts with a gallery on a page template so I would like to disable it for that page template.

    I have tried this, but I can’t find the name of the action to remove.

    function remove_lightbox_header() {
    		/*single-listing.php is the page template the plugin needs to be deactivated on*/
    		if (is_page_template('single-listing.php')){
    	   	remove_action('wp_head', '....This is the action name I am struggling with....');
    	}
        }
    add_action('wp_head', 'remove_lightbox_header', 1);

    I’d appreciate some assistance finding the action name(s) or an alternative.

    Nick

  • The topic ‘Disabling jQuery Lightbox For Native Galleries on a template’ is closed to new replies.