Sid Gifari File Manager
🏠 Root
/
home
/
ailwtbdh
/
public_html
/
wp-content
/
themes
/
profund
/
Editing: single.php
<?php get_header(); get_template_part('template-parts/site-header'); the_post(); if ( class_exists( 'Redux' ) ) { global $profund_opt; }else{ $profund_opt = array(); $profund_opt['single_releted_tag'] = true; $profund_opt['single_post_share'] = false; $profund_opt['single_post_nav'] = true; $profund_opt['single_author_info'] = true; } ?> <section class="blog-area section-padding"> <div class="container"> <div class="row"> <div class="col-xs-12 <?php echo ( is_active_sidebar( 'sidebar-1' ) ? 'col-md-8' : '' ); ?>"> <?php get_template_part( 'template-parts/post-formats/post', get_post_format() ); //Populer post view count function if( function_exists('profund_set_post_views') ){ profund_set_post_views(get_the_ID()); } ?> <?php if( has_tag() == true or function_exists('profund_post_share_social') ): ?> <div class="equal-height"> <?php if( $profund_opt['single_releted_tag'] == true ){ echo get_the_tag_list( '<div class="single-tags"><h3 class="single-tags-title">'.esc_html__( 'Tags','profund' ).'</h3>',' ','</div>'); } // Post share social menu function. if( function_exists('profund_post_share_social') ){ profund_post_share_social(); } ?> </div> <?php endif; ?> <?php if( $profund_opt['single_post_nav'] == true and get_the_post_navigation() ): ?> <div class="single-post-navigation"> <?php // Previous/next post navigation. the_post_navigation(array( 'next_text' => '<span class="meta-nav">' . esc_html__( 'Next Post', 'profund' ) . '</span><h3 class="title">%title</h3>', 'prev_text' => '<span class="meta-nav">' . esc_html__( 'Prev Post', 'profund' ) . '</span><h3 class="title">%title</h3>', )); ?> </div> <?php endif; ?> <?php if( !empty(get_the_author_meta('description')) and $profund_opt['single_author_info'] == true ): ?> <div class="author-info-area"> <div class="author-content"> <?php $user_pic = get_avatar( get_the_author_meta( 'ID' ) , 100 ); if(!empty($user_pic)){ printf( '<figure class="author-pic">%s</figure>', $user_pic ); } ?> <span class="info"><?php esc_html_e( 'Written By','profund' ); ?></span> <h3 class="author-name"><?php the_author(); ?></h3> <?php echo wpautop(esc_html(get_the_author_meta('description'))); ?> </div> </div> <?php endif; // If comments are open or we have at least one comment, load up the comment template. if ( comments_open() || get_comments_number() ) { comments_template(); } ?> </div> <div class="col-xs-12 <?php echo ( is_active_sidebar( 'sidebar-1' ) ? 'col-md-4' : '' ); ?>"> <div class="hidden visible-xs visible-sm space-30"></div> <?php get_sidebar(); ?> </div> </div> </div> </section> <?php get_footer(); ?>
Save
Cancel