WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Disabling jQuery Lightbox For Native Galleries on a template (1 post)

  1. nicksoper
    Member
    Posted 2 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic