dequeue styles filter bar 3.10

Home Forums Calendar Products Filter Bar dequeue styles filter bar 3.10

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #972625
    ccldn
    Participant

    Hello,

    I used to be able to dequeue the filter bar styles with:

    add_action( ‘wp_enqueue_scripts’, ‘remove_filter_bar_styles’, 100, 0 );
    function remove_filter_bar_styles() {
    wp_dequeue_style( ‘TribeEventsFilterView-css’ );
    }

    This no longer works in V3.10. I assume I need to update this bit: ‘TribeEventsFilterView-css’ …
    But what to?

    Thank you!
    Ed

    #972627
    Brian
    Member

    Hi,

    Thanks for using our plugins.

    Looks like a change to the registered name in WordPress is causing this.

    Try out this coding instead, it worked for me:

    add_action( 'wp_enqueue_scripts', 'remove_filter_bar_styles', 100 );
    function remove_filter_bar_styles() {
    wp_dequeue_style( 'Tribe__Events__Filterbar__View-css' );
    }

    Let me know if that works for you.

    Thanks

    #985040
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘dequeue styles filter bar 3.10’ is closed to new replies.