My sidebar isnt showing on single posts

Hi Im using Ethos and have this in my wp-single.php file (attached below) but my sidebar isnt showing here: https://tuprensalocal.com/miss-latina-fue-todo-un-exito/

Not sure whats wrong. TIA - Rena

<?php

// =============================================================================
// VIEWS/ETHOS/WP-SINGLE.PHP
// -----------------------------------------------------------------------------
// Single post output for Ethos.
// =============================================================================

$fullwidth = get_post_meta( get_the_ID(), '_x_post_layout', true );

get_header();

?>
<div class="archive-ads"><?php if(function_exists('the_ad_group')) the_ad_group(130); ?></div>

  <div class="x-container max width main">
    <div class="offset cf">
      <div class="<?php x_main_content_class(); ?>" role="main">

        <?php while ( have_posts() ) : the_post(); ?>
          <?php x_get_view( 'ethos', 'content', get_post_format() ); ?>
          <?php x_get_view( 'global', '_comments-template' ); ?>
        <?php endwhile; ?>

      </div>

     
        <?php if ( $fullwidth != 'on' ) : ?>
        <?php get_sidebar(); ?>
      <?php endif; ?>
     

    </div>
  </div>

<?php get_footer(); ?>

Hi @fatcatgraphics,

I can see the container for sidebar is there. There’s just no content. Please go to Appearance > Sidebar. You have many custom sidebar. Please check which custom sidebar will show on that post. Then got to Appeance > Widgets. Make sure that the sidebar you have choose to show on that post have content. Hope this helps.

Oops, that was it. Thank you!d

You’re welcome!
It’s good to know that Lely’s response has worked for you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.