Sid Gifari File Manager
🏠 Root
/
home
/
ailwtbdh
/
lynchestinegroup.com
/
wp-content
/
themes
/
koncrete
/
template-parts
/
blog
/
Editing: content-1.php
<?php /** * @author RadiusTheme * @since 1.0 * @version 1.0 */ namespace radiustheme\Koncrete; $prefix = Constants::$theme_prefix; ?> <div id="post-<?php the_ID(); ?>" <?php post_class('blog-box-layout3') ?> > <?php $thumb_size = "{$prefix}-size1"; $img = Helper::generate_thumbnail_image( get_post(), $thumb_size, true ); $post_date_class = $img ? 'post-date' : 'post-date post-date-relative'; $item_content_class = $img ? 'item-content' : 'item-content pt-0' ?> <?php if ($img): ?> <div class="item-img"> <img src="<?php echo esc_url( $img ); ?>" alt="<?php the_title_attribute() ; ?>"> </div> <?php endif ?> <div class="<?php echo esc_attr( $item_content_class ); ?>"> <?php if ( RDTheme::$options['blog_date'] ): ?> <a href="<?php the_permalink() ?>" class="<?php echo esc_attr( $post_date_class ); ?>"> <i class="fa fa-calendar" aria-hidden="true"></i> <?php $unixtimestamp = get_the_time('U'); echo date_i18n( get_option( 'date_format' ), $unixtimestamp ); ?> </a> <?php endif ?> <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2> <?php if ( RDTheme::$options['blog_author_name'] || RDTheme::$options['blog_comment_num'] ): ?> <ul class="entry-meta"> <?php if ( RDTheme::$options['blog_author_name'] ): ?> <li> <i class="fa fa-user" aria-hidden="true"></i> <span> <?php the_author_posts_link() ?> </span> </li> <?php endif ?> <?php if ( RDTheme::$options['blog_cats'] && has_category() ): ?> <li> <i class="fa fa-folder-open"></i> <span><?php the_category( ', ' ) ?></span> </li> <?php endif ?> <?php if ( RDTheme::$options['blog_comment_num'] ): ?> <li> <i class="fa fa-comments" aria-hidden="true"></i> <?php $comments_number = get_comments_number( get_post() ); ?> <span><?php echo esc_html( $comments_number ); ?></span> </li> <?php endif ?> </ul> <?php endif ?> <?php the_excerpt(); ?> </div> </div>
Save
Cancel