Adjust event calendar markup
This commit is contained in:
@@ -88,9 +88,9 @@ $next = $wpdb->get_row("SELECT MONTH(post_date) AS month, YEAR(post_date) AS yea
|
|||||||
/* translators: Calendar caption: 1: month name, 2: 4-digit year */
|
/* translators: Calendar caption: 1: month name, 2: 4-digit year */
|
||||||
$calendar_caption = _x('%1$s %2$s', 'calendar caption', 'sportspress');
|
$calendar_caption = _x('%1$s %2$s', 'calendar caption', 'sportspress');
|
||||||
$calendar_output = '
|
$calendar_output = '
|
||||||
<div class="sp-calendar-wrapper">
|
<div class="widget_calendar sp-calendar-wrapper">
|
||||||
<table id="wp-calendar" class="sp-calendar sp-event-calendar">
|
<table id="wp-calendar" class="sp-calendar sp-event-calendar">
|
||||||
<' . $caption_tag . ' class="sp-table-caption">' . sprintf($calendar_caption, $wp_locale->get_month($thismonth), date('Y', $unixmonth)) . '</' . $caption_tag . '>
|
<caption class="sp-table-caption">' . ( $caption_tag == 'caption' ? '' : '<' . $caption_tag . '>' ) . sprintf($calendar_caption, $wp_locale->get_month($thismonth), date('Y', $unixmonth)) . ( $caption_tag == 'caption' ? '' : '</' . $caption_tag . '>' ) . '</caption>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>';
|
<tr>';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user