Skip to content

Commit

Permalink
UPD: additional to the prev commit
Browse files Browse the repository at this point in the history
  • Loading branch information
cheh committed Nov 3, 2016
1 parent b34f378 commit 0a413d4
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions inc/class-trending-posts-widget.php
Original file line number Diff line number Diff line change
Expand Up @@ -304,11 +304,10 @@ public function widget( $args, $instance ) {
);

$image_args = apply_filters( 'cherry_trend_posts_image_args', array(
'visible' => has_post_thumbnail(),
'size' => 'medium',
'mobile_size' => 'thumbnail',
'html' => '<figure class="cherry-trend-post__thumbnail"><a href="%1$s" %2$s><img class="cherry-trend-post__img" src="%3$s" alt="%4$s" %5$s></a></figure>',
'class' => 'cherry-trend-post__thumbnail-link',
'size' => 'medium',
'mobile_size' => 'thumbnail',
'html' => '<figure class="cherry-trend-post__thumbnail"><a href="%1$s" %2$s><img class="cherry-trend-post__img" src="%3$s" alt="%4$s" %5$s></a></figure>',
'class' => 'cherry-trend-post__thumbnail-link',
), $args, $instance );

$excerpt_args = array(
Expand Down

0 comments on commit 0a413d4

Please sign in to comment.