Add div wrappers to templates
This commit is contained in:
@@ -209,5 +209,7 @@ $calendar_output .= "\n\t</tr>\n\t</tbody>\n\t</table>\n\t</div>";
|
||||
|
||||
if ( $id && $show_all_events_link )
|
||||
$calendar_output .= '<a class="sp-calendar-link sp-view-all-link" href="' . get_permalink( $id ) . '">' . __( 'View all events', 'sportspress' ) . '</a>';
|
||||
|
||||
echo apply_filters( 'sportspress_event_calendar', $calendar_output );
|
||||
?>
|
||||
<div class="sp-template sp-template-event-calendar">
|
||||
<?php echo $calendar_output; ?>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user