Sid Gifari File Manager
🏠 Root
/
home
/
ailwtbdh
/
www
/
wp-content
/
themes
/
profund
/
template-parts
/
post-formats
/
Editing: post.php
<div <?php post_class('post-single'); ?> > <?php if ( class_exists( 'Redux' ) ) { global $profund_opt; }else{ $profund_opt = array(); $profund_opt['is_blog_post_meta'] = $profund_opt['is_blog_post_title'] = $profund_opt['is_blog_post_image'] = true; $profund_opt['read_more_switch'] = false; $profund_opt['meta_option_select'] = array( 'author','date','comment_count','category' ); $profund_opt['blog_thumbnail_size'] = 'full'; $profund_opt['blog_content_format'] = 'excerpt'; $profund_opt['content_excerpt_length'] = '30'; $profund_opt['title_excerpt_length'] = '15'; $profund_opt['read_more_text'] = 'Read More <i class="flaticon-right-arrow"></i>'; } if( $profund_opt['is_blog_post_image'] == true ){ profund_post_thumbnail($profund_opt['blog_thumbnail_size']); } ?> <div class="post-content"> <?php if(is_single() ): /* translators: %s: Name of current post */ ?> <div class="post-desc"> <?php the_content( sprintf( esc_html__( 'Continue reading %s', 'profund' ), the_title( '<span class="screen-reader-text">', '</span>', false ) ) ); ?> </div> <?php wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . esc_html__( 'Pages:', 'profund' ) . '</span>', 'after' => '</div>', 'link_before' => '<span class="page-numbers" >', 'link_after' => '</span>', 'next_or_number' => 'number', 'nextpagelink' => '<i class="flaticon-right-arrow"></i>', 'previouspagelink' => '<i class="flaticon-left-arrow-1"></i>', ) ); else: if( $profund_opt['is_blog_post_title'] == true ){ echo '<h2 class="post-title"><a href="'.get_permalink().'" rel="bookmark">'; echo wp_trim_words( get_the_title(), $profund_opt['title_excerpt_length'], '...' ); echo '</a></h2>'; } if( $profund_opt['blog_content_format'] == 'excerpt' ){ echo '<div class="post-desc">'; echo wp_trim_words( get_the_content(), $profund_opt['content_excerpt_length'], '...' ); echo '</div>'; if( $profund_opt['read_more_switch'] == true and !empty($profund_opt['read_more_text']) ){ echo '<a class="read-more" href="'.get_the_permalink().'" >'.wp_kses_post($profund_opt['read_more_text']).'</a>'; } }elseif( $profund_opt['blog_content_format'] == 'full' ){ echo '<div class="post-desc">'; the_content(); echo '</div>'; } endif; if( $profund_opt['is_blog_post_meta'] == true ){ echo profund_header_post_meta( $profund_opt['meta_option_select'] ); } ?> </div> </div>
Save
Cancel