Sid Gifari File Manager
🏠 Root
/
home
/
ailwtbdh
/
lynchestinegroup.com
/
wp-content
/
themes
/
koncrete
/
template-parts
/
blog
/
Editing: content-single.php
<?php /** * @author RadiusTheme * @since 1.0 * @version 1.0 */ namespace radiustheme\Koncrete; use radiustheme\Koncrete_core\Socials; ?> <?php if ( has_post_thumbnail() ):?> <div class="item-img"> <img src="<?php echo esc_url(get_the_post_thumbnail_url()) ?>" alt="<?php the_title_attribute(); ?>" class="img-fluid"> </div> <?php endif; ?> <div class="item-content clearfix"> <?php if ( RDTheme::$options['post_date'] ): ?> <span 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 ); ?> </span> <?php endif ?> <ul class="entry-meta"> <?php if ( RDTheme::$options['post_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['post_cats'] && has_category() ): ?> <li> <i class="fa fa-folder-open"></i> <span><?php the_category( ', ' ) ?></span> </li> <?php endif ?> <?php if ( RDTheme::$options['post_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 the_content(); ?> <?php // for single post pagination wp_link_pages( array( 'before' => '<div class="post-pagination">' . __('Pages:', 'koncrete'), 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) ) ?> </div> <?php $post_social = RDTheme::$options['post_social'] ; $social_class_exists = class_exists( Socials::class ); $has_social = $post_social && $social_class_exists; $col_class = $has_social ? 'col-md-6' : 'col-12'; ?> <?php if ( RDTheme::$options['post_tags'] || RDTheme::$options['post_social'] ): ?> <div class="row mt-4 clearfix"> <div class="<?php echo esc_attr( $col_class ); ?>"> <?php if ( RDTheme::$options['post_tags'] && has_tag() ): ?> <div class="blog-tag"> <?php the_tags( '<ul><li>', '</li> <li>', '</li></ul>' ); ?> </div> <?php endif; ?> </div> <?php if ($has_social): ?> <div class="<?php echo esc_attr( $col_class ); ?>"> <?php Socials::render(); ?> </div> <?php endif ?> </div> <?php endif; ?> <?php $about_author = get_the_author_meta( 'description' ); $has_author_info = RDTheme::$options['post_about_author'] && $about_author ; ?> <?php if ($has_author_info): ?> <div class="blog-author"> <h3 class="title title-bar-xl1"><?php esc_html_e( 'About Author', 'koncrete' );?></h3> <div class="media media-none--xs"> <?php echo get_avatar( get_the_author_meta( 'ID' ), null, null, 'blog author', array('class' => 'media-img-auto') ) ?> <div class="media-body"> <h3 class="title"><?php the_author(); ?></h3> <p><?php echo esc_html( $about_author ); ?></p> </div> </div> </div> <?php endif ?>
Save
Cancel