diff --git a/templates/event-blocks.php b/templates/event-blocks.php index 0761682e..d8edbfa0 100644 --- a/templates/event-blocks.php +++ b/templates/event-blocks.php @@ -43,8 +43,13 @@ if ( $order != 'default' ) $data = $calendar->data(); $usecolumns = $calendar->columns; -if ( isset( $columns ) ) +if ( isset( $columns ) ) { $usecolumns = $columns; +} + +if ( $id ) { + echo '

' . get_the_title( $id ) . '

'; +} ?>
@@ -97,7 +102,7 @@ if ( isset( $columns ) ) - +
@@ -119,8 +124,8 @@ if ( isset( $columns ) )
-
-' . __( 'View all events', 'sportspress' ) . ''; -?> \ No newline at end of file + ' . __( 'View all events', 'sportspress' ) . ''; + ?> + \ No newline at end of file