Sid Gifari File Manager
🏠 Root
/
home
/
ailwtbdh
/
lynchestinegroup.com
/
wp-content
/
themes
/
koncrete
/
template-parts
/
blog
/
Editing: content-2.php
<?php /** * @author RadiusTheme * @since 1.0 * @version 1.0 */ namespace radiustheme\Koncrete; $prefix = Constants::$theme_prefix; $thumb_size = "{$prefix}-size2"; $img = Helper::generate_thumbnail_image( get_post(), $thumb_size, true ); $mt20p_class = (!$img && RDTheme::$options['blog_date'] ) ? 'mt20p' : ''; ?> <div id="post-<?php the_ID(); ?>" class="rtel-radius-post rtel-radius-post-1 ref-elementor-css <?php echo esc_attr( $mt20p_class ); ?>"> <div <?php post_class('rtin-radius-post-layout-1') ?>> <?php if ($img): ?> <div class="rtin-item-img"> <img src="<?php echo esc_url( $img ); ?>" alt="<?php the_title_attribute(); ?>"> </div> <?php endif ?> <div class="rtin-item-content"> <?php if ( RDTheme::$options['blog_date'] ): ?> <a href="<?php the_permalink() ?>" class="post-date"> <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 ?> <h3><a href="<?php the_permalink() ; ?>"><?php echo esc_html( the_title() ); ?></a></h3> <p> <?php $content = wp_trim_words( get_the_excerpt(), 15, '' ); echo esc_html($content); ?> </p> <div class="rtin-entry-meta"> <?php if ( RDTheme::$options['blog_author_name'] ): ?> <div class="rtin-author"> <i class="fa fa-user" aria-hidden="true"></i> <span> <?php the_author_posts_link() ?> </span> </div> <?php endif ?> <?php if ( RDTheme::$options['blog_comment_num'] ): ?> <div class="rtin-comments"> <i class="fa fa-comments" aria-hidden="true"></i> <span> <?php esc_html_e( 'Comments', 'koncrete' );?>: <?php echo esc_html( $post->comment_count ); ?> </span> </div> <?php endif ?> </div> </div> </div> </div>
Save
Cancel