Küçük Ağa Fragmanlari ile Küçük Ağa Bölümleri arasına adsense reklamlarını eklemek istediğimde altındaki kategoriye girdiğim konular tıklanmıyor
bu iki kategori arasına adsense kodlarını nasıl koymam gerekiyor ki tablolar bozulmadan çalışşın ?
Buda kod
<?php get_header(); ?>
<div id="fragmanlar_duzenleme">
<div id="fragmanlar_sag_bolum">
</br>
<div class="ssk_yer_bildirme">
<?php
if(function_exists('bcn_display'))
{
bcn_display();
}
?></div>
<div class="fragman_manset">
<center>
<?php include (TEMPLATEPATH . "/manset.php"); ?>
</center>
</div>
</br>
<div class="fragmanlar_dizi_baslik"><div style="float: left;">Küçük Ağa Fragmanlari</div><div class="dizitumu"><a class="solbaslink" href="category/fragmanlar">Tümü</a></div> </div>
<div class="fragmanlar_dizi_orta">
<?php $recent = new WP_Query("showposts=15&cat=6"); while($recent->have_posts()) :
$recent->the_post();?>
<div class="fragman_dizi">
<?php if( get_post_meta($post->ID, "resim", true) ): ?>
<a href="<?php the_permalink() ?>" rel="bookmark"><img src="<?php echo get_post_meta($post->ID, "resim", true); ?>" alt="<?php the_title(); ?>" /></a>
<?php else: ?>
<a href="<?php the_permalink() ?>" rel="bookmark">
<img src="<?php bloginfo('template_url'); ?>/images/resimyok.jpg" alt="<?php the_title(); ?>" /></a>
<?php endif; ?>
<center><h2><a href="<?php the_permalink() ?>" rel="bookmark"> <?php if (strlen($post->post_title) > 20) {
echo mb_substr(the_title($before = '', $after = '', FALSE), 0, 20) . '...'; } else {
the_title();
} ?> </a></h2></center>
</div>
<?php endwhile; ?>
</div>
</br>
<div class="fragmanlar_film_baslik"><div style="float: left;">Küçük Ağa Bölümleri</div><div class="filmtumu"><a class="solbaslink" href="category/bolumler">Tümü</a></div> </div>
<div class="fragmanlar_film_orta">
<?php $recent = new WP_Query("showposts=15&cat=5"); while($recent->have_posts()) :
$recent->the_post();?>
<div class="fragman_film">
<?php if( get_post_meta($post->ID, "resim", true) ): ?>
<a href="<?php the_permalink() ?>" rel="bookmark"><img src="<?php echo get_post_meta($post->ID, "resim", true); ?>" alt="<?php the_title(); ?>" /></a>
<?php else: ?>
<a href="<?php the_permalink() ?>" rel="bookmark">
<img src="<?php bloginfo('template_url'); ?>/images/resimyok.jpg" alt="<?php the_title(); ?>" /></a>
<?php endif; ?>
<center><h2><a href="<?php the_permalink() ?>" rel="bookmark"> <?php if (strlen($post->post_title) > 20) {
echo mb_substr(the_title($before = '', $after = '', FALSE), 0, 20) . '...'; } else {
the_title();
} ?> </a></h2></center>
</div>
<?php endwhile; ?>
</div>
</br>
<div class="fragmanlar_haber_baslik"><div style="float: left;">Küçük Ağa'dan Haberler</div> <div class="habertumu"><a class="solbaslink" href="category/dizihaberleri">Tümü</a></div> </div>
<div class="fragmanlar_haber_orta">
<?php $recent = new WP_Query("showposts=4&cat=7"); while($recent->have_posts()) :
$recent->the_post();?>
<div class="fragman_haber">
<?php if( get_post_meta($post->ID, "resim", true) ): ?>
<a href="<?php the_permalink() ?>" rel="bookmark"><img src="<?php echo get_post_meta($post->ID, "resim", true); ?>" alt="<?php the_title(); ?>" /></a>
<?php else: ?>
<a href="<?php the_permalink() ?>" rel="bookmark">
<img src="<?php bloginfo('template_url'); ?>/images/resimyok.jpg" alt="<?php the_title(); ?>" /></a>
<?php endif; ?>
<h2><a href="<?php the_permalink() ?>" rel="bookmark"> <?php if (strlen($post->post_title) > 40) {
echo mb_substr(the_title($before = '', $after = '', FALSE), 0, 40) . '...'; } else {
the_title();
} ?> </a></h2>
<div class="fragman_haber_icerik"><?php the_content_limit(400, ""); ?>
<br>
<div class="devam"><a href="<?php the_permalink() ?>" rel="bookmark" style="float: right;" title="<?php printf(__('%s','fragman'), get_the_title()) ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/devam.jpg" alt="Devamini oku <?php the_title(); ?>" style="border: none;" /></a></div>
</div>
</div>
<?php endwhile; ?>
</div>
</div>
<!-- end content-left -->
<?php get_sidebar(); ?>
<div class="clear"></div>
</div><!-- end content -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-51518180-1', 'kucukagasonbolum.com');
ga('send', 'pageview');
</script>
<?php get_footer(); ?>
buyurun hocam, bu şekilde olması lazım
<?php get_header(); ?>
<div id="fragmanlar_duzenleme">
<div id="fragmanlar_sag_bolum">
</br>
<div class="ssk_yer_bildirme">
<?php
if(function_exists('bcn_display'))
{
bcn_display();
}
?></div>
<div class="fragman_manset">
<center>
<?php include (TEMPLATEPATH . "/manset.php"); ?>
</center>
</div>
</br>
<div class="fragmanlar_dizi_baslik"><div style="float: left;">Küçük Ağa Fragmanlari</div><div class="dizitumu"><a class="solbaslink" href="category/fragmanlar">Tümü</a></div> </div>
<div class="fragmanlar_dizi_orta">
<?php $recent = new WP_Query("showposts=15&cat=6"); while($recent->have_posts()) :
$recent->the_post();?>
<div class="fragman_dizi">
<?php if( get_post_meta($post->ID, "resim", true) ): ?>
<a href="<?php the_permalink() ?>" rel="bookmark"><img src="<?php echo get_post_meta($post->ID, "resim", true); ?>" alt="<?php the_title(); ?>" /></a>
<?php else: ?>
<a href="<?php the_permalink() ?>" rel="bookmark">
<img src="<?php bloginfo('template_url'); ?>/images/resimyok.jpg" alt="<?php the_title(); ?>" /></a>
<?php endif; ?>
<center><h2><a href="<?php the_permalink() ?>" rel="bookmark"> <?php if (strlen($post->post_title) > 20) {
echo mb_substr(the_title($before = '', $after = '', FALSE), 0, 20) . '...'; } else {
the_title();
} ?> </a></h2></center>
</div>
<?php endwhile; ?>
</div>
</br>
/* Adsense Kodu Buraya Gelecek */
<div class="fragmanlar_film_baslik"><div style="float: left;">Küçük Ağa Bölümleri</div><div class="filmtumu"><a class="solbaslink" href="category/bolumler">Tümü</a></div> </div>
<div class="fragmanlar_film_orta">
<?php $recent = new WP_Query("showposts=15&cat=5"); while($recent->have_posts()) :
$recent->the_post();?>
<div class="fragman_film">
<?php if( get_post_meta($post->ID, "resim", true) ): ?>
<a href="<?php the_permalink() ?>" rel="bookmark"><img src="<?php echo get_post_meta($post->ID, "resim", true); ?>" alt="<?php the_title(); ?>" /></a>
<?php else: ?>
<a href="<?php the_permalink() ?>" rel="bookmark">
<img src="<?php bloginfo('template_url'); ?>/images/resimyok.jpg" alt="<?php the_title(); ?>" /></a>
<?php endif; ?>
<center><h2><a href="<?php the_permalink() ?>" rel="bookmark"> <?php if (strlen($post->post_title) > 20) {
echo mb_substr(the_title($before = '', $after = '', FALSE), 0, 20) . '...'; } else {
the_title();
} ?> </a></h2></center>
</div>
<?php endwhile; ?>
</div>
</br>
<div class="fragmanlar_haber_baslik"><div style="float: left;">Küçük Ağa'dan Haberler</div> <div class="habertumu"><a class="solbaslink" href="category/dizihaberleri">Tümü</a></div> </div>
<div class="fragmanlar_haber_orta">
<?php $recent = new WP_Query("showposts=4&cat=7"); while($recent->have_posts()) :
$recent->the_post();?>
<div class="fragman_haber">
<?php if( get_post_meta($post->ID, "resim", true) ): ?>
<a href="<?php the_permalink() ?>" rel="bookmark"><img src="<?php echo get_post_meta($post->ID, "resim", true); ?>" alt="<?php the_title(); ?>" /></a>
<?php else: ?>
<a href="<?php the_permalink() ?>" rel="bookmark">
<img src="<?php bloginfo('template_url'); ?>/images/resimyok.jpg" alt="<?php the_title(); ?>" /></a>
<?php endif; ?>
<h2><a href="<?php the_permalink() ?>" rel="bookmark"> <?php if (strlen($post->post_title) > 40) {
echo mb_substr(the_title($before = '', $after = '', FALSE), 0, 40) . '...'; } else {
the_title();
} ?> </a></h2>
<div class="fragman_haber_icerik"><?php the_content_limit(400, ""); ?>
<br>
<div class="devam"><a href="<?php the_permalink() ?>" rel="bookmark" style="float: right;" title="<?php printf(__('%s','fragman'), get_the_title()) ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/devam.jpg" alt="Devamini oku <?php the_title(); ?>" style="border: none;" /></a></div>
</div>
</div>
<?php endwhile; ?>
</div>
</div>
<!-- end content-left -->
<?php get_sidebar(); ?>
<div class="clear"></div>
</div><!-- end content -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-51518180-1', 'kucukagasonbolum.com');
ga('send', 'pageview');
</script>
<?php get_footer(); ?>