Skip to content

Commit

Permalink
Add small tag for image caption
Browse files Browse the repository at this point in the history
  • Loading branch information
jgrossi committed Aug 16, 2016
1 parent a8e14b2 commit bdf6282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion widgets/image.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function widget( $args, $instance ) {
?>
<img src="<?php echo $url; ?>" class="<?php echo $classes; ?>" alt="<?php echo $alt; ?>" />
<?php if ( $caption ): ?>
<p class="help-block"><?php echo $caption; ?></p>
<p class="help-block"><small><?php echo $caption; ?></small></p>
<?php endif;
echo $args['after_widget'];
}
Expand Down

0 comments on commit bdf6282

Please sign in to comment.