PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
themes
/
besa
/
widgets
<?php extract( $args ); extract( $instance ); $title = apply_filters('widget_title', $instance['title']); if ( $title ) { echo trim($before_title) . trim( $title ) . $after_title; } ?> <div class="comment-widget widget-content"> <?php $number = $instance['number_comment']; $all_comments = get_comments( array('status' => 'approve', 'number'=>$number) ); if (is_array( $all_comments)) { foreach($all_comments as $comment) { ?> <article class="media"> <div class="avatar-comment-widget"> <?php echo get_avatar($comment, '54'); ?> </div> <div class="content-comment-widget"> <h6> <?php echo strip_tags($comment->comment_author); ?> <?php echo esc_html__('says', 'besa' ); ?>: </h6> <a class="comment-text-side" href="<?php echo esc_url( get_permalink($comment->ID) ); ?>#comment-<?php echo esc_attr( $comment->comment_ID ); ?>" title="<?php echo strip_tags($comment->comment_author); ?> on <?php echo trim( $comment->post_title ); ?>"> <?php echo besa_tbay_substring($comment->comment_content, 10, '...'); ?> </a> </div> </article> <?php } } ?> </div>
[+]
..
[-] custom-menu.php
[edit]
[-] video.php
[edit]
[-] socials.php
[edit]
[-] instagram.php
[edit]
[-] product-brand-image.php
[edit]
[-] single-image.php
[edit]
[-] contact-info.php
[edit]
[-] banner-image.php
[edit]
[-] woo-carousel.php
[edit]
[-] recent-post.php
[edit]
[-] popup-newsletter.php
[edit]
[-] top-rate.php
[edit]
[-] list-categories.php
[edit]
[-] popular-post.php
[edit]
[-] .widgets.php
[edit]
[-] posts.php
[edit]
[-] recent-comment.php
[edit]