te for displaying single posts. * * @package Salient WordPress Theme * @version 13.1 */ // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) { exit; } get_header(); $nectar_options = get_nectar_theme_options(); $fullscreen_header = ( ! empty( $nectar_options['blog_header_type'] ) && 'fullscreen' === $nectar_options['blog_header_type'] && is_singular( 'post' ) ) ? true : false; $blog_header_type = ( ! empty( $nectar_options['blog_header_type'] ) ) ? $nectar_options['blog_header_type'] : 'default'; $theme_skin = NectarThemeManager::$skin; $header_format = ( ! empty( $nectar_options['header_format'] ) ) ? $nectar_options['header_format'] : 'default'; $hide_sidebar = ( ! empty( $nectar_options['blog_hide_sidebar'] ) ) ? $nectar_options['blog_hide_sidebar'] : '0'; $blog_type = $nectar_options['blog_type']; $blog_social_style = ( get_option( 'salient_social_button_style' ) ) ? get_option( 'salient_social_button_style' ) : 'fixed'; $enable_ss = ( ! empty( $nectar_options['blog_enable_ss'] ) ) ? $nectar_options['blog_enable_ss'] : 'false'; $remove_single_post_date = ( ! empty( $nectar_options['blog_remove_single_date'] ) ) ? $nectar_options['blog_remove_single_date'] : '0'; $remove_single_post_author = ( ! empty( $nectar_options['blog_remove_single_author'] ) ) ? $nectar_options['blog_remove_single_author'] : '0'; $remove_single_post_comment_number = ( ! empty( $nectar_options['blog_remove_single_comment_number'] ) ) ? $nectar_options['blog_remove_single_comment_number'] : '0'; $remove_single_post_nectar_love = ( ! empty( $nectar_options['blog_remove_single_nectar_love'] ) ) ? $nectar_options['blog_remove_single_nectar_love'] : '0'; $container_wrap_class = ( true === $fullscreen_header ) ? 'container-wrap fullscreen-blog-header' : 'container-wrap'; // Post header. if ( have_posts() ) : while ( have_posts() ) : the_post(); if( 'image_under' !== $blog_header_type ) { nectar_page_header( $post->ID ); } endwhile; endif; // Post header fullscreen style when no image is supplied. if ( true === $fullscreen_header ) { get_template_part( 'includes/partials/single-post/post-header-no-img-fullscreen' ); } ?>
Uncategorized

Hello world!

By January 3, 2022One Comment

Welcome to WordPress. This is your first post. Edit or delete it, then start writing!

One Comment

Leave a Reply