Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Anoop Ranawat

    (@anoopranawat)

    Hello,

    Blog details page is handle by your theme single.php file. Please check is there any setting to display single view in full width.

    Thread Starter dangioffre

    (@dangioffre)

    I dont see anything in there about it

    <?php
    /**
     * The template for displaying all single posts.
     *
     * @package pro
     */
    
    get_header(); ?>
    
    	<?php if( get_option( 'page_for_posts' ) ) : $cover_page = get_page( get_option( 'page_for_posts' ) ); ?>
    
    	<?php if(get_post_meta($cover_page->ID, 'progression_page_title', true) == 'hide' ) : ?><?php else: ?>
    		<div id="soundbyte-page-title">
    			<div class="width-container-progression">
    				<?php if(function_exists('bcn_display')) { echo '<div id="bread-crumb-container"><div class="breadcrumbs-soundbyte"><ul id="breadcrumbs-pro"><li><a href="'; echo esc_url( home_url( '/' ) ); echo '">'; echo esc_html_e( 'Home', 'soundbyte-progression' );  echo '</a></li>'; bcn_display_list(); echo '</ul><div class="clearfix-progression"></div></div></div>'; }?>
    				<h1 id="page-title" class="entry-title-pro"><?php $page_for_posts = get_option('page_for_posts'); ?><?php echo get_the_title($page_for_posts); ?></h1>
    				<?php if(get_post_meta($cover_page->ID, 'progression_sub_title', true)) : ?><h2><?php echo esc_html( get_post_meta($cover_page->ID, 'progression_sub_title', true) );?></h2><?php endif; ?>
    			</div>
    		</div><!-- #page-title-pro -->
    	<?php endif; ?>
    	<?php else: ?>
    		<div id="soundbyte-page-title">
    			<div class="width-container-progression">
    				<h1 id="page-title" class="entry-title-pro"><?php esc_html_e( 'Latest Posts', 'soundbyte-progression' ); ?></h1>
    			</div>
    		</div><!-- #page-title-pro -->
    	<?php endif; ?>
    
    	<div id="content-pro" class="site-content">
    		<div class="width-container-progression<?php if( get_option( 'page_for_posts' ) ) : $cover_page = get_page( get_option( 'page_for_posts' ) ); ?><?php if(get_post_meta($cover_page->ID, 'progression_page_sidebar', true) == 'left-sidebar' ) : ?> left-sidebar-pro<?php endif; ?><?php endif; ?>">
    
    				<?php if( get_option( 'page_for_posts' ) ) : $cover_page = get_page( get_option( 'page_for_posts' ) ); ?>
    				<?php if(get_post_meta($cover_page->ID, 'progression_page_sidebar', true) == 'right-sidebar' ) : ?><div id="soundbyte-sidebar-container"><?php endif; ?>
    				<?php if(get_post_meta($cover_page->ID, 'progression_page_sidebar', true) == 'left-sidebar' ) : ?><div id="soundbyte-sidebar-container"><?php endif; ?>
    				<?php endif; ?>
    
    			<?php while ( have_posts() ) : the_post(); ?>
    
    				<?php get_template_part( 'template-parts/content', 'single' ); ?>
    
    			<?php endwhile; // end of the loop. ?>
    
    			<?php if( get_option( 'page_for_posts' ) ) : $cover_page = get_page( get_option( 'page_for_posts' ) ); ?>
    			<?php if(get_post_meta($cover_page->ID, 'progression_page_sidebar', true) == 'right-sidebar' ) : ?></div><!-- close #main-container-pro --><?php get_sidebar(); ?><?php endif; ?>
    			<?php if(get_post_meta($cover_page->ID, 'progression_page_sidebar', true) == 'left-sidebar' ) : ?></div><!-- close #main-container-pro --><?php get_sidebar(); ?><?php endif; ?>
    			<?php endif; ?>
    
    		<div class="clearfix-progression"></div>
    		</div><!-- close .width-container-pro -->
    	</div><!-- #content-pro -->
    <?php get_footer(); ?>
    Plugin Author Anoop Ranawat

    (@anoopranawat)

    Hello,

    There must be a condition in your theme to hide the side bar in your theme single page view:

    <?php if(get_post_meta($cover_page->ID, 'progression_page_sidebar', true) == 'right-sidebar' ) : ?><div id="soundbyte-sidebar-container"><?php endif; ?>
    <?php if(get_post_meta($cover_page->ID, 'progression_page_sidebar', true) == 'left-sidebar' ) : ?><div id="soundbyte-sidebar-container"><?php endif; ?>

    Please check your theme setting OR documents

    Plugin Author Anoop Ranawat

    (@anoopranawat)

    Its added a DIV

    <div id="soundbyte-sidebar"> </div>

    For the sidebar

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to make blod post full width’ is closed to new replies.