Evet hocam aradğım şey sanırım bu fakat ekliyemedim. yardımcı olabilrseniz çok sevinirim.
single.php
<?php
/**
* The template for displaying all single posts.
*
* @package Fullsense 2
*/
get_header(); ?>
<div id="primary" class="page">
<div id="main" class="row" role="main">
<div class="col-sm-8">
<?php the_breadcrumbs(); ?>
<div id="mobileAds"></div>
<?php if ( get_option( 'fullsense_468reklam1sec' ) == 'true' ) : ?>
<div class="bx">
<div class="p6">
<?php echo stripslashes(get_option('fullsense_468reklam1')); ?>
</div>
</div>
<?php endif; ?>
<?php add_filter( 'the_content', 'fullsense_2_add_resp_cl' ); ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'templates/content', 'single' ); ?>
<?php
// If comments are open or we have at least one comment, load up the comment template.
if ( comments_open() || get_comments_number() ) :
comments_template();
endif;
?>
<?php endwhile; // End of the loop. ?>
<?php remove_filter( 'the_content', 'fullsense_2_add_resp_cl' ); ?>
<div class="bx">
<h4>Benzer Konular</h4>
<div class="p6 row">
<?php $rand_posts = get_posts(array('numberposts' => 6, 'orderby' => 'rand')); ?>
<div class="col-md-6">
<ul class="lst">
<?php for ( $i = 0; $i <= 2; $i++ ) : setup_postdata( $GLOBALS['post'] =& $rand_posts[$i] ); ?>
<?php get_template_part( 'templates/content', get_post_format() ); ?>
<?php endfor; ?>
</ul>
</div>
<div class="col-md-6">
<ul class="lst">
<?php for ( $i = 3; $i <= 5; $i++ ) : setup_postdata( $GLOBALS['post'] =& $rand_posts[$i] ); ?>
<?php get_template_part( 'templates/content', get_post_format() ); ?>
<?php endfor; ?>
</ul>
</div>
</div>
</div>
<?php wp_reset_query(); ?>
</div>
<div class="col-sm-4">
<?php get_sidebar(); ?>
</div>
<?php require get_template_directory() . '/includes/son-aramalar.php'; ?>
<?php get_footer(); ?>