Add html in wp-content/plugins/post-views-counter/includes/functions.php:513
php
Donate
$html .= '<div class="post-content">';
$html .= '
<a class="post-title" href="' . get_permalink( $post->ID ) . '">' . get_the_title( $post->ID ) . '</a>' . ( $args['show_post_author'] ? sprintf('<div class="post-meta is-small op-8 pb-1 mt-2"><span class="item-info dateinfo"><i class="fas fa-calendar-alt mr-1"></i><time class="rpbt-post-date" datetime="%1$s">%2$s</time></span><span class="item-info authorinfo vcard author" itemprop="author" itemscope="itemscope" itemtype="http://schema.org/Person"><i class="fas fa-user ml-half mr-1"></i><span class="fn" itemprop="name">%3$s</span></span></div>',get_the_date( DATE_W3C, $post ),get_the_date( '', $post ),get_the_author_meta('user_nicename', $post->post_author)) : '' ) . ( $args['show_post_views'] ? ' <span class="count">(' . number_format_i18n( pvc_get_post_views( $post->ID ) ) . ')</span>' : '' );
$excerpt = '';
if ( $args['show_post_excerpt'] ) {
if ( empty( $post->post_excerpt ) )
$text = $post->post_content;
else
$text = $post->post_excerpt;
if ( ! empty( $text ) )
$excerpt = wp_trim_words( str_replace( ']]>', ']]>', strip_shortcodes( $text ) ), apply_filters( 'excerpt_length', 55 ), apply_filters( 'excerpt_more', ' ' . '[…]' ) );
}
if ( ! empty( $excerpt ) )
$html .= '
<div class="post-excerpt">' . esc_html( $excerpt ) . '</div>';
$html .= apply_filters( 'pvc_most_viewed_posts_item_after', $args['item_after'], $post );
$html .='</div>';
Scss
scss
Donate
.widget_post_views_counter_list_widget{
ul{
li{
display: flex;
padding-bottom: 15px;
span.post-thumbnail{
@include make-columns-percent(30)
}
.post-content {
padding: 6px 0;
line-height: 1.4;
//@include fontSize(15px);
text-align: left;
padding-left: 10px;
@include make-columns-percent(70)
}
}
}
}