Update player gallery thumbnail markup
This commit is contained in:
@@ -28,7 +28,7 @@ if ( $player_number )
|
||||
|
||||
// Add caption tag if has caption
|
||||
if ( $captiontag && $caption )
|
||||
$caption = '<' . $captiontag . ' class="wp-caption-text gallery-caption small-3 columns">' . wptexturize( $caption ) . '</' . $captiontag . '>';
|
||||
$caption = '<' . $captiontag . ' class="wp-caption-text gallery-caption small-3 columns' . ( $player_number ? ' has-number' : '' ) . '">' . wptexturize( $caption ) . '</' . $captiontag . '>';
|
||||
|
||||
if ( $link_posts )
|
||||
$caption = '<a href="' . get_permalink( $id ) . '">' . $caption . '</a>';
|
||||
|
||||
Reference in New Issue
Block a user