Change BS3 markup to BS4
This commit is contained in:
parent
ef184d7033
commit
bbbfbae63b
|
@ -116,7 +116,7 @@ function shortcode_gallery( $attr ) {
|
||||||
$output .= ( $i % $columns == 0 ) ? '<div class="row gallery-row">' : '';
|
$output .= ( $i % $columns == 0 ) ? '<div class="row gallery-row">' : '';
|
||||||
$output .= '<div class="' . $grid . '">' . $image;
|
$output .= '<div class="' . $grid . '">' . $image;
|
||||||
if ( trim( $attachment->post_excerpt ) ) {
|
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>';
|
$output .= '</div>';
|
||||||
$i ++;
|
$i ++;
|
||||||
|
|
Reference in New Issue