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; } $args = array( 'post_type' => 'post', 'posts_per_page' => $number_post ); $query = new WP_Query($args); if($query->have_posts()): ?> <div class="post-widget"> <ul> <?php while($query->have_posts()):$query->the_post(); ?> <li class="post"> <?php if ( has_post_thumbnail() ) { ?> <div class="entry-thumb"> <a href="<?php the_permalink(); ?>" class="entry-image"> <?php the_post_thumbnail( array(100, 100) ); ?> </a> </div> <?php } ?> <div class="entry-content"> <?php if (get_the_title()) { ?> <h4 class="entry-title"> <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a> <?php besa_post_meta_comment(1, 0); ?> </h4> <?php } ?> <ul class="entry-meta-list"> <li class="entry-date"><i class="tb-icon tb-icon-calendar-31"></i><?php echo besa_time_link(); ?></li> </ul> </div> </li> <?php endwhile; ?> <?php wp_reset_postdata(); ?> </ul> </div> <?php endif; ?>
[+]
..
[-] 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]