__( 'Default Events Template', 'tribe-events-calendar' ), 'default' => __( 'Default Page Template', 'tribe-events-calendar' ), ); $templates = get_page_templates(); ksort( $templates ); foreach ( array_keys( $templates ) as $template ) { $template_options[$templates[$template]] = $template; } $templatesTab = array( 'priority' => 20, 'fields' => array( 'info-start' => array( 'type' => 'html', 'html' => '
' . __('Having trouble making the calendar fit in your theme? On this page, rectify that by selecting what WordPress "page template" The Events Calendar will use to display your event views. The page template controls the usage and placement of the header, sidebar, main content, footer and any other unique content blocks your site may be using. The dropdown below includes the Default Events Template (bundled with the Events framework), Default Page Template (the theme\'s default page.php template), and any other page templates your theme may have shipped with.
While we do our best to make sure the plugin plays nicely with as many themes as possible, there will inevitably be situations where none of the templating options available below will look 100% perfect. In that situation you may want to check out our themer\'s guide to figure out what templating approach is best for you.', 'tribe-events-calendar') . '
', ), 'info-end' => array( 'type' => 'html', 'html' => '