resime gördüldüğü gibi Sitemin Anasayfa kısmındıki Reklam alanı kısmını kaldırmak istiyorum.
Acaba nasıl yapabilirim.Yardımcı olursanız çok sevinirim.
7
●210
<aside>
<section id="search-box">
<?php include('searchform.php'); ?>
</section>
<?php include('social-count.php'); ?>
<?php
$facebook_id = get_option('facebook_id');
$twitter_id = get_option('twitter_id');
$gplus_id = get_option('gplus_id');
?>
<section id="social-count">
<a rel="nofollow" href="http://facebook.com/<?php echo stripslashes($facebook_id); ?>" title="Facebook" target="_blank">
<section id="facebook-count">
<?php echo $bSayisi; ?> <br /> Beğeni
</section>
</a>
<a rel="nofollow" href="http://twitter.com/<?php echo stripslashes($twitter_id); ?>" title="Twitter" target="_blank">
<section id="twitter-count">
<?php echo $buldum_sayisi; ?> <br /> Takipçi
</section>
</a>
<a rel="nofollow" href="http://plus.google.com/<?php echo stripslashes($gplus_id); ?>" title="Google+" target="_blank">
<section id="googleplus-count">
<?php echo $json->circledByCount; ?> <br /> Çevre
</section>
</a>
</section>
<h3>Reklam Alanı</h3>
<section class="widget">
<section id="advertising">
<?php
$site_url = get_bloginfo('url');
$theme_url = get_bloginfo('template_url');
$adv_81x81 = get_option('adv_81x81');
$adv_81x81_1 = get_option('adv_81x81_1');
$adv_81x81_2 = get_option('adv_81x81_2');
$adv_81x81_3 = get_option('adv_81x81_3');
$adv_81x81_4 = get_option('adv_81x81_4');
$adv_81x81_5 = get_option('adv_81x81_5');
$adv_81x81_6 = get_option('adv_81x81_6');
$adv_81x81_7 = get_option('adv_81x81_7');
$adv_81x81_8 = get_option('adv_81x81_8');
$adv_81x81_default='<a href="'.$site_url.'" title="Advertising"><img src="'.$theme_url.'/img/81x81.png" alt="Advertising" width="81" height="81" /></a>';
if(empty($adv_81x81)){echo($adv_81x81_default);}else{echo stripslashes($adv_81x81);}
if(empty($adv_81x81_1)){echo($adv_81x81_default);}else{echo stripslashes($adv_81x81_1);}
if(empty($adv_81x81_2)){echo($adv_81x81_default);}else{echo stripslashes($adv_81x81_2);}
if(empty($adv_81x81_3)){echo($adv_81x81_default);}else{echo stripslashes($adv_81x81_3);}
if(empty($adv_81x81_4)){echo($adv_81x81_default);}else{echo stripslashes($adv_81x81_4);}
if(empty($adv_81x81_5)){echo($adv_81x81_default);}else{echo stripslashes($adv_81x81_5);}
if(empty($adv_81x81_6)){echo($adv_81x81_default);}else{echo stripslashes($adv_81x81_6);}
if(empty($adv_81x81_7)){echo($adv_81x81_default);}else{echo stripslashes($adv_81x81_7);}
if(empty($adv_81x81_8)){echo($adv_81x81_default);}else{echo stripslashes($adv_81x81_8);}
?>
</section>
</section>
<h3>Kategoriler</h3>
<section class="widget">
<ul>
<?php
$variable = wp_list_categories('echo=0&show_count=1&child_of=0&title_li=&hierarchical=0');
$variable = preg_replace('~\((\d+)\)(?=\s*+<)~', '<span class="cat-count">$1</span>', $variable);
echo $variable;
?>
</ul>
</section>
<h3>Haftanın Popülerleri</h3>
<section id="popular-post-week">
<?php
function filter_where( $where = '' ) {
$where .= " AND post_date > '" . date('Y-m-d', strtotime('-6 days')) . "'";
return $where;
}
add_filter('posts_where', 'filter_where');
// The Query
$the_query = new WP_Query( array(
'posts_per_page' => '10',
'v_sortby' => 'views',
'post_type' => array('post'))
);
remove_filter('posts_where', 'filter_where');
// The Loop
while ($the_query->have_posts()) :
$the_query->the_post();
?>
<section class="popular-posts">
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
<span class="popular-posts-title">
<?php the_title(); ?>
<span class="popular-posts-data"><?php the_time('j F Y, H:i') ?></span>
</span>
<?php the_post_thumbnail('popular-of-week'); ?>
</a>
</section>
<?php endwhile; wp_reset_postdata(); ?>
</section>
<?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('Colorfultech')) : ?>
<h3>Bileşenler</h3>
<section class="widget">
Bu kısım, bileşenleri eklediğiniz takdirde ortadan kalkacaktır.
</section>
<?php endif; ?>
</aside> <aside>
<section id="search-box">
<?php include('searchform.php'); ?>
</section>
<?php include('social-count.php'); ?>
<?php
$facebook_id = get_option('facebook_id');
$twitter_id = get_option('twitter_id');
$gplus_id = get_option('gplus_id');
?>
<section id="social-count">
<a rel="nofollow" href="http://facebook.com/<?php echo stripslashes($facebook_id); ?>" title="Facebook" target="_blank">
<section id="facebook-count">
<?php echo $bSayisi; ?> <br /> Beğeni
</section>
</a>
<a rel="nofollow" href="http://twitter.com/<?php echo stripslashes($twitter_id); ?>" title="Twitter" target="_blank">
<section id="twitter-count">
<?php echo $buldum_sayisi; ?> <br /> Takipçi
</section>
</a>
<a rel="nofollow" href="http://plus.google.com/<?php echo stripslashes($gplus_id); ?>" title="Google+" target="_blank">
<section id="googleplus-count">
<?php echo $json->circledByCount; ?> <br /> Çevre
</section>
</a>
</section>
<h3>Kategoriler</h3>
<section class="widget">
<ul>
<?php
$variable = wp_list_categories('echo=0&show_count=1&child_of=0&title_li=&hierarchical=0');
$variable = preg_replace('~\((\d+)\)(?=\s*+<)~', '<span class="cat-count">$1</span>', $variable);
echo $variable;
?>
</ul>
</section>
<h3>Haftanın Popülerleri</h3>
<section id="popular-post-week">
<?php
function filter_where( $where = '' ) {
$where .= " AND post_date > '" . date('Y-m-d', strtotime('-6 days')) . "'";
return $where;
}
add_filter('posts_where', 'filter_where');
// The Query
$the_query = new WP_Query( array(
'posts_per_page' => '10',
'v_sortby' => 'views',
'post_type' => array('post'))
);
remove_filter('posts_where', 'filter_where');
// The Loop
while ($the_query->have_posts()) :
$the_query->the_post();
?>
<section class="popular-posts">
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
<span class="popular-posts-title">
<?php the_title(); ?>
<span class="popular-posts-data"><?php the_time('j F Y, H:i') ?></span>
</span>
<?php the_post_thumbnail('popular-of-week'); ?>
</a>
</section>
<?php endwhile; wp_reset_postdata(); ?>
</section>
<?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('Colorfultech')) : ?>
<h3>Bileşenler</h3>
<section class="widget">
Bu kısım, bileşenleri eklediğiniz takdirde ortadan kalkacaktır.
</section>
<?php endif; ?>
</aside>