PATH:
home
/
letacommog
/
aperobusiness
/
wp-content
/
themes
/
deep
<?php /** * Deep Theme. * * The template for displaying all single posts * * @since 1.0.0 * @author Webnus */ // Don't load directly. if ( ! defined( 'ABSPATH' ) ) { exit; } get_header(); $full_width = rwmb_meta( 'deep_blogpost_width' ); if ( $full_width == 'yes' ) { echo '<section class="page-content">'; if ( have_posts() ) : while ( have_posts() ) : the_post(); the_content(); endwhile; endif; echo '</section>'; } else { // global options $deep_options = deep_options(); // global variables $style = ''; $uniqid = uniqid(); $single_post_style = rwmb_meta( 'deep_blogpost_meta' ) == 'themeopts' ? deep_get_option( $deep_options, 'deep_blog_single_post_style', '0' ) : rwmb_meta( 'deep_blogpost_meta' ); $author_id = get_the_author_meta( 'ID' ); $post_format = get_post_format( get_the_ID() ); $user_rating = deep_get_option( $deep_options, 'deep_user_rating' ); $blog_sidebar = deep_get_option( $deep_options, 'deep_sidebar_blog_options' ); $no_image_src = deep_get_option( $deep_options, 'deep_no_image_src' ); $social_share = deep_get_option( $deep_options, 'deep_blog_social_share', '1' ); $author_position = get_user_meta( $author_id, 'author_position', true ); $author_position = $author_position ? $author_position : ''; $single_rec_posts = deep_get_option( $deep_options, 'deep_blog_single_rec_posts', '0' ); $enable_views_meta = deep_get_option( $deep_options, 'deep_blog_meta_views_enable', '0' ); $recommended_posts = deep_get_option( $deep_options, 'deep_recommended_posts', '1' ); $singlepost_sidebar = deep_get_option( $deep_options, 'deep_blog_singlepost_sidebar', 'right' ); $authorbox_sec_type = deep_get_option( $deep_options, 'deep_authorbox_sec_type', '0' ); $enable_comments_meta = deep_get_option( $deep_options, 'deep_blog_meta_comments_enable', '1' ); $enable_date_meta = deep_get_option( $deep_options, 'deep_blog_meta_date_enable', '1' ); $enable_author_meta = deep_get_option( $deep_options, 'deep_blog_meta_author_enable', '0' ); $enable_gravatar_meta = deep_get_option( $deep_options, 'deep_blog_meta_gravatar_enable', '1' ); $enable_category_meta = deep_get_option( $deep_options, 'deep_blog_meta_category_enable', '1' ); $enable_single_fimage = deep_get_option( $deep_options, 'deep_blog_sinlge_featuredimage_enable', '1' ); $enable_single_authorbox = deep_get_option( $deep_options, 'deep_blog_single_authorbox_enable', '0' ); if ( $single_post_style == 'postshow1' ) { $style .= '.postshow1{ background-image: url( ' . get_the_post_thumbnail_url() . ' ); }'; get_template_part( 'inc/core/templates/loops/single/parts/post', 'show1' ); } ?> <section class="container page-content"> <!-- Magazine Title and meta author --> <?php if ( $single_post_style == 'postshow3' ) { ?> <hr class="vertical-space1"> <?php $style .= '.post-cat-ps3 { background: ' . deep_category_color() . '; }'; get_template_part( 'inc/core/templates/loops/single/parts/post-show3/post', 'thumbnail' ); } ?> <hr class="vertical-space2"> <!-- left sidebar --> <?php if ( 'left' == $singlepost_sidebar ) { ?> <aside class="col-md-3 sidebar leftside <?php echo esc_attr( $blog_sidebar ); ?>"> <?php if ( is_active_sidebar( 'Left Sidebar' ) ) { dynamic_sidebar( 'Left Sidebar' ); } ?> </aside> <?php } ?> <section class="<?php echo ( 'none' == $singlepost_sidebar ) ? 'col-md-12' : 'col-md-9 cntt-w'; ?>"> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); if ( $single_post_style == 'postshow1' ) { get_template_part( 'inc/core/templates/loops/single/postshow1' ); } elseif ( $single_post_style == 'postshow2' ) { get_template_part( 'inc/core/templates/loops/single/postshow2' ); } elseif ( $single_post_style == 'postshow3' ) { get_template_part( 'inc/core/templates/loops/single/postshow3' ); } elseif ( $single_post_style == 'postshow4' ) { $style .= '.category-color { background: ' . deep_category_color() . '; }'; get_template_part( 'inc/core/templates/loops/single/postshow4' ); } elseif ( $single_post_style == 'postshow5' ) { get_template_part( 'inc/core/templates/loops/single/postshow5' ); } else { get_template_part( 'inc/core/templates/loops/single/postshow0' ); } endwhile; endif; wp_reset_postdata(); ?> </section> <!-- end-main-conten --> <?php if ( $singlepost_sidebar == 'right' ) { ?> <aside class="col-md-3 sidebar <?php echo esc_attr( $blog_sidebar ); ?>"> <?php if ( is_active_sidebar( 'Right Sidebar' ) ) { dynamic_sidebar( 'Right Sidebar' );} ?> </aside> <?php } ?> <div class="white-space"></div> </section> <?php } deep_save_dyn_styles( $style ); get_footer();
[+]
..
[-] single-recipe.php
[edit]
[-] archive-room.php
[edit]
[-] single-wbf_footer.php
[edit]
[-] Change_log.php
[edit]
[-] style.css
[edit]
[+]
kingcomposer
[-] single-mega_menu.php
[edit]
[+]
buddypress
[-] single.php
[edit]
[-] single-llms_quiz.php
[edit]
[-] single-gallery.php
[edit]
[-] searchform.php
[edit]
[-] header.php
[edit]
[-] single-llms_membership.php
[edit]
[-] screenshot.png
[edit]
[+]
inc
[-] README.md
[edit]
[-] taxonomy-sermon_category.php
[edit]
[-] taxonomy-sermon_series.php
[edit]
[+]
languages
[-] wpml-config.xml
[edit]
[-] search.php
[edit]
[-] index.php
[edit]
[-] single-portfolio.php
[edit]
[+]
lifterlms
[-] single-cause.php
[edit]
[-] single-lesson.php
[edit]
[-] attachment.php
[edit]
[+]
assets
[-] taxonomy-portfolio_category.php
[edit]
[-] single-llms_question.php
[edit]
[-] taxonomy-cause_category.php
[edit]
[-] speakers-images.php
[edit]
[-] core-templates.php
[edit]
[-] author.php
[edit]
[-] comments.php
[edit]
[-] taxonomy-sermon_speaker.php
[edit]
[-] single-faq.php
[edit]
[-] page.php
[edit]
[-] archive-gallery.php
[edit]
[-] readme.txt
[edit]
[-] footer.php
[edit]
[-] functions.php
[edit]
[-] archive.php
[edit]
[-] rtl.css
[edit]
[-] single-course.php
[edit]
[-] single-sermon.php
[edit]
[-] buddypress.php
[edit]
[-] sidebar.php
[edit]
[+]
woocommerce
[-] single-elementor_library.php
[edit]
[-] 404.php
[edit]
[-] single-goal.php
[edit]
[+]
vc_templates
[-] archive-course.php
[edit]