Remove date

Home Forums Calendar Products Filter Bar Remove date

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1127215
    playmakerne
    Participant

    Hi,

    I have recently purchased the Filter Bar, and have a few questions:

    1.
    When I search the events, it seems like I only can make the search on a specific day. Is it possible to remove this? The events are more important than the dates for our users, therefore they should be able to see all events, that matches their filtered priorities, as a list of events, they can choose from.

    2.
    I have changed the labels of the filters into Danish. It looks good in the filter bar, but when I enter an event, some words are still in English. (See screenshot). Can I change this?

    Kind regards
    Christine

    #1128238
    Nico
    Member

    Howdy Christine,

    Welcome to our support forums and thanks for reaching out to us. I’ll help you here!

    When I search the events, it seems like I only can make the search on a specific day. Is it possible to remove this? The events are more important than the dates for our users, therefore they should be able to see all events, that matches their filtered priorities, as a list of events, they can choose from.

    If you are trying to remove the date field from events bar (https://cloudup.com/cFWctj76UsP), then just paste this snippet in your theme’s (or child theme’s) functions.php file:

    /* Remove date field from events bar */
    add_filter( 'tribe-events-bar-filters', 'remove_search_from_bar', 1000, 1 );

    function remove_search_from_bar( $filters ) {
    if ( isset( $filters['tribe-bar-search'] ) ) {
    unset( $filters['tribe-bar-search'] );
    }

    return $filters;
    }

    If you are interested in other events bar customizations take a look to this article → https://theeventscalendar.com/knowledgebase/understanding-the-tribe-events-bar/

    I have changed the labels of the filters into Danish. It looks good in the filter bar, but when I enter an event, some words are still in English. (See screenshot). Can I change this?

    Maybe this words are not translated to Danish? You can check that in our language pages for The Events Calendar core and FilterBar.

    Please let me know about it,
    Best,
    Nico

    #1134544
    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 ‘Remove date’ is closed to new replies.