' . __( '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' ) . '.
',
),
'postsPerPage' => array(
'type' => 'text',
'label' => __( 'Number of events to show per page', 'tribe-events-calendar' ),
'size' => 'small',
'default' => get_option( 'posts_per_page' ),
'validation_type' => 'positive_int',
),
'liveFiltersUpdate' => array(
'type' => 'checkbox_bool',
'label' => __( 'Use Javascript to control date filtering', 'tribe-events-calendar' ),
'tooltip' => tribe_get_option( 'tribeDisableTribeBar', false ) == true ? __( 'This option is disabled when "Disable the Event Search Bar" is checked on the Display settings tab.', 'tribe-events-calendar' ) : __( 'Enable live ajax for datepicker on front end (User submit not required).', 'tribe-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' => __( 'Show comments', 'tribe-events-calendar' ),
'tooltip' => __( 'Enable comments on event pages.', 'tribe-events-calendar' ),
'default' => false,
'validation_type' => 'boolean',
),
'showEventsInMainLoop' => array(
'type' => 'checkbox_bool',
'label' => __( 'Include events in main blog loop', 'tribe-events-calendar' ),
'tooltip' => __( 'Show events with the site\'s other posts. When this box is checked, events will also continue to appear on the default events page.', 'tribe-events-calendar' ),
'default' => false,
'validation_type' => 'boolean',
),
'unprettyPermalinksUrl' => array(
'type' => 'html',
'label' => __( 'Events URL slug', 'tribe-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 %s. In order to edit the slug here, enable pretty permalinks.', 'tribe-events-calendar' ), $tec->getLink( 'home' ), $tec->getLink( 'home ' ), trailingslashit( get_admin_url() ) ) . '
' . __( '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() . '' ) . '
' . 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' ) . '' ) . '