Add widget alignment
This commit is contained in:
@@ -13,7 +13,10 @@ class SP_Widget_Countdown extends WP_Widget {
|
||||
$id = empty($instance['id']) ? null : $instance['id'];
|
||||
$show_venue = empty($instance['show_venue']) ? false : $instance['show_venue'];
|
||||
$show_league = empty($instance['show_league']) ? false : $instance['show_league'];
|
||||
|
||||
do_action( 'sportspress_before_widget', $args, $instance, 'countdown' );
|
||||
echo $before_widget;
|
||||
|
||||
if ( $title )
|
||||
echo $before_title . $title . $after_title;
|
||||
|
||||
@@ -26,6 +29,7 @@ class SP_Widget_Countdown extends WP_Widget {
|
||||
do_action( 'sportspress_after_widget_template', $args, $instance, 'countdown' );
|
||||
|
||||
echo $after_widget;
|
||||
do_action( 'sportspress_after_widget', $args, $instance, 'countdown' );
|
||||
}
|
||||
|
||||
function update( $new_instance, $old_instance ) {
|
||||
|
||||
Reference in New Issue
Block a user