PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
themes
/
besa
/
post-formats
<?php /** * * The default template for displaying content * @since 1.0 * @version 1.2.0 * */ $columns = besa_tbay_blog_loop_columns(''); $date = besa_tbay_get_boolean_query_var('enable_date'); $author = besa_tbay_get_boolean_query_var('enable_author'); $categories = besa_tbay_get_boolean_query_var('enable_categories'); $cat_type = besa_tbay_categories_blog_type(); $short_descriptions = besa_tbay_get_boolean_query_var('enable_short_descriptions'); $read_more = besa_tbay_get_boolean_query_var('enable_readmore'); $image_position = apply_filters( 'besa_archive_image_position', 10,2 ); $class_main = $class_left = ''; if( $image_position == 'left' ) { $class_main = 'row'; $class_left = ' col-md-6'; } $class_blog = ($columns > 1) ? 'post-grid' : 'post-list'; ?> <!-- /post-standard --> <?php if ( ! is_single() ) : ?> <div class="<?php echo esc_attr( $class_blog ); ?> clearfix position-image-<?php echo esc_attr($class_main); ?>"> <?php endif; ?> <article id="post-<?php the_ID(); ?>" <?php post_class($class_main); ?>> <?php if ( is_single() ) : ?> <div class="entry-single"> <?php endif; ?> <?php if ( is_single() ) : ?> <div class="entry-header"> <?php if (get_the_title()) { ?> <h1 class="entry-title"> <?php the_title(); ?> </h1> <?php } ?> <?php besa_post_meta(array( 'date' => 1, 'author' => 1, 'comments' => 1, 'comments_text' => 1, 'tags' => 0, 'cats' => 1, 'edit' => 0, )); ?> <?php besa_tbay_post_share_box(); ?> </div> <?php if ( has_post_thumbnail() ) { ?> <figure class="entry-thumb <?php echo (!has_post_thumbnail() ? 'no-thumb' : ''); ?>"> <?php besa_tbay_post_thumbnail(); ?> </figure> <?php } ?> <div class="post-excerpt entry-content"> <?php the_content( esc_html__( 'Continue reading', 'besa' ) ); ?> <?php do_action('besa_tbay_post_bottom') ?> </div><!-- /entry-content --> <?php wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . esc_html__( 'Pages:', 'besa' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>', 'pagelink' => '<span class="screen-reader-text">' . esc_html__( 'Page', 'besa' ) . ' </span>%', 'separator' => '<span class="screen-reader-text">, </span>', ) ); ?> <?php endif; ?> <?php if ( ! is_single() ) : ?> <?php if ( has_post_thumbnail() ) { ?> <figure class="entry-thumb <?php echo esc_attr( $class_left ); ?> <?php echo (!has_post_thumbnail() ? 'no-thumb' : ''); ?>"> <?php besa_tbay_post_thumbnail(); besa_tbay_icon_post_formats(); ?> </figure> <?php } ?> <div class="entry-content <?php echo esc_attr( $class_left ); ?> <?php echo ( !has_post_thumbnail() ) ? 'no-thumb' : ''; ?>"> <div class="entry-header"> <?php besa_post_archive_the_title(); ?> <?php besa_post_meta(array( 'date' => $date, 'author' => $author, 'tags' => 0, 'cats' => $categories, 'edit' => 0, )); ?> <?php if( $short_descriptions ) : ?> <?php besa_post_archive_the_short_description(); ?> <?php endif; ?> <?php if( $read_more ) : ?> <?php besa_post_archive_the_read_more(); ?> <?php endif; ?> </div> </div> <?php endif; ?> <?php if ( is_single() ) : ?> </div> <?php endif; ?> </article> <?php if ( ! is_single() ) : ?> </div> <?php endif; ?>
[+]
..
[-] content-audio.php
[edit]
[-] content-image.php
[edit]
[-] .post-formats.php
[edit]
[-] content.php
[edit]
[-] content-aside.php
[edit]
[-] content-none.php
[edit]
[-] content-gallery.php
[edit]
[-] content-video.php
[edit]