',
),
'postsPerPage' => array(
'type' => 'text',
'label' => esc_html__( 'Number of events to show per page', 'the-events-calendar' ),
'size' => 'small',
'default' => get_option( 'posts_per_page' ),
'validation_type' => 'positive_int',
),
'liveFiltersUpdate' => array(
'type' => 'checkbox_bool',
'label' => esc_html__( 'Use Javascript to control date filtering', 'the-events-calendar' ),
'tooltip' => tribe_get_option( 'tribeDisableTribeBar', false ) == true ? esc_html__( 'This option is disabled when "Disable the Event Search Bar" is checked on the Display settings tab.', 'the-events-calendar' ) : esc_html__( 'Enable live ajax for datepicker on front end (User submit not required).', 'the-events-calendar' ),
'attributes' => tribe_get_option( 'tribeDisableTribeBar', false ) == true ? array( 'disabled' => 'disabled' ) : null,
'default' => true,
'validation_type' => 'boolean',
'class' => tribe_get_option( 'tribeDisableTribeBar', false ) == true ? 'tribe-fieldset-disabled' : null,
),
'showComments' => array(
'type' => 'checkbox_bool',
'label' => esc_html__( 'Show comments', 'the-events-calendar' ),
'tooltip' => esc_html__( 'Enable comments on event pages.', 'the-events-calendar' ),
'default' => false,
'validation_type' => 'boolean',
),
'showEventsInMainLoop' => array(
'type' => 'checkbox_bool',
'label' => esc_html__( 'Include events in main blog loop', 'the-events-calendar' ),
'tooltip' => esc_html__( 'Show events with the site\'s other posts. When this box is checked, events will also continue to appear on the default events page.', 'the-events-calendar' ),
'default' => false,
'validation_type' => 'boolean',
),
'unprettyPermalinksUrl' => array(
'type' => 'html',
'label' => esc_html__( 'Events URL slug', 'the-events-calendar' ),
'html' => '
' . sprintf( __( 'You cannot edit the slug for your events page as you do not have pretty permalinks enabled. The current URL for your events page is %2$s. In order to edit the slug here, enable pretty permalinks.', 'the-events-calendar' ), esc_url( $tec->getLink( 'home' ) ), $tec->getLink( 'home ' ), esc_url( trailingslashit( get_admin_url() ) ) ) . '
' . esc_html__( 'The slug used for building the events URL.', 'the-events-calendar' ) . sprintf( esc_html__( 'Your current events URL is: %s', 'the-events-calendar' ), '' . tribe_get_events_link() . '' ) . '
' . sprintf( __( 'The above should ideally be plural, and this singular. Your single event URL is: %s', 'the-events-calendar' ), '' . trailingslashit( home_url() ) . tribe_get_option( 'singleEventSlug', 'event' ) . '/single-post-name/' ) . '
' . sprintf( esc_html__( "Have an event that runs past midnight? Select a time after that event's end to avoid showing the event on the next day's calendar.", 'the-events-calendar' ) ) . '
',
'conditional' => ( '' != get_option( 'permalink_structure' ) ),
),
'defaultCurrencySymbol' => array(
'type' => 'text',
'label' => esc_html__( 'Default currency symbol', 'the-events-calendar' ),
'tooltip' => esc_html__( 'Set the default currency symbol for event costs. Note that this only impacts future events, and changes made will not apply retroactively.', 'the-events-calendar' ),
'validation_type' => 'textarea',
'size' => 'small',
'default' => '$',
),
'reverseCurrencyPosition' => array(
'type' => 'checkbox_bool',
'label' => esc_html__( 'Currency symbol follows value', 'the-events-calendar' ),
'tooltip' => esc_html__( 'The currency symbol normally precedes the value. Enabling this option positions the symbol after the value.', 'the-events-calendar' ),
'default' => false,
'validation_type' => 'boolean',
),
'amalgamateDuplicates' => array(
'type' => 'html',
'html' => '',
'conditional' => ( Tribe__Settings_Manager::get_option( 'organizer_venue_amalgamation', 0 ) < 1 ),
),
'tribeEventsMiscellaneousTitle' => array(
'type' => 'html',
'html' => '