Support Forums

The forums are closed and will be removed when we launch our new site.

Looking for support? You can access the support system via your account.

Cory Eastman

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Cory Eastman in reply to:
    Datepicker Conflict with Tribe Events
    #262288

    I dont think all these are necessary but this is how I fixed it for now:

    function remove_sf_scripts() {
    	if (tribe_is_event() || tribe_is_event_category() || tribe_is_in_main_loop() || tribe_is_view() || 'tribe_events' == get_post_type() || is_singular( 'tribe_events' )) {
    		wp_deregister_script( 'search-filter-plugin-build' );
    		wp_deregister_script( 'search-filter-plugin-chosen' );
    		wp_deregister_script( 'jquery-ui-datepicker' );
    		wp_deregister_style( 'search-filter-plugin-styles' );
    	}
    }
    add_action('wp_enqueue_scripts', 'remove_sf_scripts', 100);
    Cory Eastman in reply to:
    Datepicker Conflict with Tribe Events
    #262136

    Different pages. What would be the best way to conditionally unload the Search and Filter scripts on the Events pages?

    Cory Eastman in reply to:
    Datepicker Conflict with Tribe Events
    #261919

    Any update on this conflict? Thanks

    Cory Eastman in reply to:
    Datepicker Conflict with Tribe Events
    #261792

    Thanks Trevor, let me know if Ross is able to come up with a fix. Much appreciated.

    Cory Eastman in reply to:
    Datepicker Conflict with Tribe Events
    #261735
    This reply has been marked as private.
Viewing 5 posts - 1 through 5 (of 5 total)