10, 'fields' => apply_filters( 'tribe_general_settings_tab_fields', array( 'info-start' => array( 'type' => 'html', 'html' => '
'
),
'upsell-heading' => array(
'type' => 'heading',
'label' => __( 'Finding & extending your calendar.', 'tribe-events-calendar' ),
'conditional' => ( ! defined( 'TRIBE_HIDE_UPSELL' ) || ! TRIBE_HIDE_UPSELL ),
),
'finding-heading' => array(
'type' => 'heading',
'label' => __( 'Finding your calendar.', 'tribe-events-calendar' ),
'conditional' => ( defined( 'TRIBE_HIDE_UPSELL' ) && TRIBE_HIDE_UPSELL ),
),
'view-calendar-link' => array(
'type' => 'html',
'html' => '' . __( 'Where\'s my calendar?', 'tribe-events-calendar' ) . ' ' . __( 'Right here', 'tribe-events-calendar' ) . '.
', ), 'upsell-info' => array( 'type' => 'html', 'html' => '' . __( 'Looking for additional functionality including recurring events, custom meta, community events, ticket sales and more?', 'tribe-events-calendar' ) . ' ' . __( 'Check out the available add-ons', 'tribe-events-calendar' ) . '.
', 'conditional' => ( ! defined( 'TRIBE_HIDE_UPSELL' ) || ! TRIBE_HIDE_UPSELL ), ), 'donate-link-heading' => array( 'type' => 'heading', 'label' => __( 'We hope our plugin is helping you out.', 'tribe-events-calendar' ), ), 'donate-link-info' => array( 'type' => 'html', 'html' => '' . __( 'Are you thinking "Wow, this plugin is amazing! I should say thanks to Modern Tribe for all their hard work." The greatest thanks we could ask for is recognition. Add a small text-only link at the bottom of your calendar pointing to The Events Calendar project.', 'tribe-events-calendar' ) . '
' . __( 'See an example of the link', 'tribe-events-calendar' ) . '.
' . __( 'Are you thinking "Wow, this plugin is amazing! I should say thanks to Modern Tribe for all their hard work." The greatest thanks we could ask for is recognition. Add a small text only link at the bottom of your calendar pointing to The Events Calendar project.', 'tribe-events-calendar' ) . '
' . __( 'See an example of the link', 'tribe-events-calendar' ) . '.
' . 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 %s. In order to edit the slug here, enable pretty permalinks.', 'tribe-events-calendar' ), esc_url( $tec->getLink( 'home' ) ), $tec->getLink( 'home ' ), esc_url( trailingslashit( get_admin_url() ) ) ) . '
', 'conditional' => ( '' == get_option( 'permalink_structure' ) ), ), 'eventsSlug' => array( 'type' => 'text', 'label' => __( 'Events URL slug', 'tribe-events-calendar' ), 'default' => 'events', 'validation_type' => 'slug', 'conditional' => ( '' != get_option( 'permalink_structure' ) ), ), 'current-events-slug' => array( 'type' => 'html', 'html' => '' . __( 'The slug used for building the events URL.', 'tribe-events-calendar' ) . sprintf( __( 'Your current events URL is: %s', 'tribe-events-calendar' ), '' . tribe_get_events_link() . '' ) . '
' . __( 'Here is the iCal feed URL for your events:', 'tribe-events-calendar' ) . ' ' . '' . tribe_get_ical_link() . '
' . sprintf( __( 'The above should ideally be plural, and this singular.
Your single event URL is: %s', 'tribe-events-calendar' ), '' . trailingslashit( home_url() ) . tribe_get_option( 'singleEventSlug', 'event' ) . '/single-post-name/' . '' ) . '
' . sprintf( __( "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.", 'tribe-events-calendar' ) ) . '
', 'conditional' => ( '' != get_option( 'permalink_structure' ) ), ), 'defaultCurrencySymbol' => array( 'type' => 'text', 'label' => __( 'Default currency symbol', 'tribe-events-calendar' ), 'tooltip' => __( 'Set the default currency symbol for event costs. Note that this only impacts future events, and changes made will not apply retroactively.', 'tribe-events-calendar' ), 'validation_type' => 'textarea', 'size' => 'small', 'default' => '$', ), 'reverseCurrencyPosition' => array( 'type' => 'checkbox_bool', 'label' => __( 'Currency symbol follows value', 'tribe-events-calendar' ), 'tooltip' => __( 'The currency symbol normally precedes the value. Enabling this option positions the symbol after the value.', 'tribe-events-calendar' ), 'default' => false, 'validation_type' => 'boolean', ), 'tribeEventsDisplayTitle' => array( 'type' => 'html', 'html' => '' . sprintf( __( 'Enable this option to log debug information. By default this will log to your server PHP error log. If you\'d like to see the log messages in your browser, then we recommend that you install the %s and look for the "Tribe" tab in the debug output.', 'tribe-events-calendar' ), '' . __( 'Debug Bar Plugin', 'tribe-events-calendar' ) . '' ) . '
', 'conditional' => ( '' != get_option( 'permalink_structure' ) ), ), 'viewWelcomePage' => array( 'type' => 'html', 'html' => '', ), 'viewUpdatePage' => array( 'type' => 'html', 'html' => '' ), 'tribe-form-content-end' => array( 'type' => 'html', 'html' => '