Add class to table captions instead of wrapping

This commit is contained in:
Brian Miyaji
2014-07-11 09:45:52 +10:00
parent 0f0d15f4f7
commit cab3ba3db5
5 changed files with 4 additions and 8 deletions

View File

@@ -75,12 +75,8 @@ function sp_get_template( $template_name, $args = array(), $template_path = '',
do_action( 'sportspress_before_template_part', $template_name, $template_path, $located, $args );
echo '<div class="sp-template sp-template-' . str_replace( '.', '-', $template_name ) . '">';
include( $located );
echo '</div>';
do_action( 'sportspress_after_template_part', $template_name, $template_path, $located, $args );
}