glcdelivers

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • glcdelivers
    Participant

    Thanks very much. Worked like a charm.

    in reply to: Filter bar is set to be open on page load, but it isn't #1588616
    glcdelivers
    Participant

    Yes, that worked. Thank you so much.

    in reply to: Filter bar is set to be open on page load, but it isn't #1588062
    glcdelivers
    Participant

    Is there a way in the php files to make sure the filterbar is open on page load?

    I changed these lines in the settings.php file (/httpdocs/wp-content/plugins/the-events-calendar-filterbar/src/Tribe) folder.

    'events_filters_default_state' => array(
    				'type' => 'radio',
    				'label'           => __( 'Filter Bar default state', 'tribe-events-filter-view' ),
    				'default'         => 'open',
    				'options' => array(
    					'closed' => __( 'Stay collapsed until visitors open it', 'tribe-events-filter-view' ),
    					'open' => __( 'Show on initial page load', 'tribe-events-filter-view' ),
    				),
    				'validation_type' => 'options',
    			),

    but the page load still has the filter bar defaulted to the closed state. Basically I changed ‘default’ => ‘closed’ to ‘default’ => ‘open’

Viewing 3 posts - 1 through 3 (of 3 total)