Change BS3 markup to BS4

This commit is contained in:
Holger Könemann 2016-11-23 10:05:20 +01:00
parent ef184d7033
commit bbbfbae63b
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ function shortcode_gallery( $attr ) {
$output .= ( $i % $columns == 0 ) ? '<div class="row gallery-row">' : '';
$output .= '<div class="' . $grid . '">' . $image;
if ( trim( $attachment->post_excerpt ) ) {
$output .= '<div class="caption hidden">' . wptexturize( $attachment->post_excerpt ) . '</div>';
$output .= '<div class="caption hidden-xs-up">' . wptexturize( $attachment->post_excerpt ) . '</div>';
}
$output .= '</div>';
$i ++;