Title: Sidebar code present in source but doesn&#039;t appear
Last modified: August 22, 2016

---

# Sidebar code present in source but doesn't appear

 *  [teensicle](https://wordpress.org/support/users/teensicle/)
 * (@teensicle)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/sidebar-code-present-in-source-but-doesnt-appear/)
 * Hey everyone hope you all are having a good day. I have WP4 installed running
   on RT Theme 18 and Job Manager 1.14. I’ve been back and forth trying to get some
   help with my issue. My sidebar shows on all other pages except for the “single”
   job listing page. I checked the source code for the page and realized that the
   code for the sidebar is there however it is just not being displayed. It also
   allocated the right side space for the sidebar but it just doesn’t show up. I’ve
   tried adding the the get_sidebar code to the page however that does show the 
   sidebar but instead of going to the right of the page it goes to the bottom. 
   Any help is appreciated
 * single.php
 *     ```
       <?php
       /**
        *
        * The template for displaying all single posts
        *
        */
       global $rt_sidebar_location;
       get_header(); ?>
   
       <section class="content_block_background">
       	<section id="row-<?php the_ID(); ?>" class="content_block clearfix">
       		<section id="content-<?php the_ID(); ?>" <?php post_class("content ".$rt_sidebar_location[0]); ?> >
       			<div class="row">
   
       				<?php do_action( "get_info_bar", apply_filters( 'get_info_bar_posts', array( "called_for" => "inside_content" ) ) ); ?>
   
       				<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
       					<?php
       						//get global post values
       						$rt_global_post_values = rt_get_global_post_values( $post );
       						get_template_part( '/post-contents/single-content', get_post_format() );
       					?>
       				<?php endwhile; else : ?>
       					<?php get_template_part( 'content', 'none' ); ?>
       				<?php endif; ?>			 
   
       				<?php if( get_option( RT_THEMESLUG ."_hide_author_info" ) ):?>
       					<?php get_template_part("author","bio"); ?>
       				<?php endif;?>
   
       				<?php if( comments_open() && ! is_attachment() ):?>
       					<div class='entry commententry'>
       						<?php comments_template(); ?>
       					</div>
       				<?php endif;?>
   
       			</div>
       		</section><!-- / end section .content -->
       		<?php get_sidebar();?>
       	</section>
       </section>
   
       <?php get_footer(); ?>
       ```
   
 * content-single-job_listing.php
 *     ```
       <div class="single_job_listing" itemscope itemtype="http://schema.org/JobPosting">
       	<meta itemprop="title" content="<?php echo esc_attr( $post->post_title ); ?>" />
   
       	<?php if ( $post->post_status == 'expired' ) : ?>
   
       		<div class="job-manager-info"><?php _e( 'This listing has expired', 'wp-job-manager' ); ?></div>
   
       	<?php else : ?>
   
       		<?php
       			/**
       			 * single_job_listing_start hook
       			 *
       			 * @hooked job_listing_meta_display - 20
       			 * @hooked job_listing_company_display - 30
       			 */
       			do_action( 'single_job_listing_start' );
       		?>
   
       		<div class="job_description" itemprop="description">
       			<?php echo apply_filters( 'the_job_description', get_the_content() ); ?>
       		</div>
   
       		<?php if ( ! is_position_filled() && $post->post_status !== 'preview' ) : ?>
       			<?php get_job_manager_template( 'job-application.php' ); ?>
       		<?php endif; ?>
   
       		<?php
       			/**
       			 * single_job_listing_end hook
       			 */
       			do_action( 'single_job_listing_end' );
       		?>
   
       	<?php endif; ?>
       </div>
       ```
   

The topic ‘Sidebar code present in source but doesn't appear’ is closed to new replies.

## Tags

 * [job](https://wordpress.org/support/topic-tag/job/)
 * [manager](https://wordpress.org/support/topic-tag/manager/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 0 replies
 * 1 participant
 * Last reply from: [teensicle](https://wordpress.org/support/users/teensicle/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/sidebar-code-present-in-source-but-doesnt-appear/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
