Benim istediğim Anasayfa'dan Manşet'i kaldırmak lakin kodlar ile pek aram iyi değil.
Bu konuda bana yardımcı olabilecek birisi var mı acaba?
Aşağıda kodları versem ve düzenleyip mesajına ekleyebilir misiniz?
Site: www.muhabbetkusu.biz
İndex.php 'deki kodlarım;
<?php get_header(); ?>
<?php if ( is_home() )
{
echo'
<div id="slides">
<div class="slides_container manset kutu">
';
?>
<?php
wp_reset_query();
query_posts('showposts=5&cat='.get_cat_id(fs_get_option('fs_manset')).'');
while ( have_posts() ) : the_post();
?>
<div>
<?php if ( has_post_thumbnail()) :
the_post_thumbnail( 'resim1', array('class' => '', 'style' => '', 'alt' => '', 'title' => '' ));
elseif (get_post_meta($post->ID, $fs_resimozelalan, true) != '') : ?><img src="<?php echo get_post_meta($post->ID, $fs_resimozelalan, true); ?>" alt="<?php the_title(); ?>" /><?php else : ?><img src="<?php bloginfo('template_url'); ?>/images/manset-yok.jpg" alt="<?php the_title(); ?>" /><?php endif; ?>
<div class="aciklama">
<div class="baslik"><?php the_title(); ?></div>
</div>
</div>
<?php
endwhile;
echo'
</div>
</div>
';
}
?>
<?php
$fs_resimozelalan = fs_get_option('fs_resimozelalan');
if($fs_resimozelalan =='') :
$fs_resimozelalan = "resim";
endif;
?>
<?php
wp_reset_query();
$post = $posts[0]; // Hack. $post değişkenini ata ki the_date() çalışsın. ?>
<?php /* Kategori arşivi ise */ if (is_category()) { ?>
<h1>"<?php single_cat_title(); ?>" kategorisindeki yazıları incelemektesiniz.</h1>
<?php /* Etiket arşivi ise */ } elseif( is_tag() ) { ?>
<h1><?php single_tag_title(); ?> olarak etiketlenmiş yazılar</h1>
<?php /* Günlük arşiv ise */ } elseif (is_day()) { ?>
<h1><?php the_time('d F Y'); ?> için Arşiv</h1>
<?php /* Aylık arşiv ise */ } elseif (is_month()) { ?>
<h1><?php the_time('F Y'); ?> için Arşiv</h1>
<?php /* Yıllık arşiv ise */ } elseif (is_year()) { ?>
<h1><?php the_time('Y'); ?> için Arşiv</h1>
<?php /* Yazar arşivi ise */ } elseif (is_author()) { ?>
<h1>Yazar Arşivi</h1>
<?php /* Sayfalanmış bir arşiv ise */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
<h1>Blog Arşivi</h1>
<?php } ?>
<?php
wp_reset_query();
if ( have_posts() ) :
while ( have_posts() ) : the_post(); ?>
<div class="konu-liste kutu mtop5">
<div class="thumb">
<?php if ( has_post_thumbnail()) :
the_post_thumbnail( 'resim1', array('class' => '', 'style' => '', 'alt' => '', 'title' => '' ));
elseif (get_post_meta($post->ID, $fs_resimozelalan, true) != '') : ?><img src="<?php echo get_post_meta($post->ID, $fs_resimozelalan, true); ?>" alt="<?php the_title(); ?>" /><?php else : ?><img src="<?php bloginfo('template_url'); ?>/images/resimyok.jpg" alt="<?php the_title(); ?>" /><?php endif; ?>
</div>
<div class="yazi-alani">
<h2><a href="<?php the_permalink(); ?>" title="<?php the_title(''); ?>"><?php the_title(); ?></a></h2>
<div class="aciklama">
<p><?php fs_excerpt('fs_kisa_yazi100', 'fs_kisalt'); ?></p>
</div>
</div>
<div class="temizle"></div>
<hr />
<ul class="alt-bilgi">
<li><span class="icon kategori"></span> <?php $category = get_the_category(); echo $category[0]->cat_name; ?></li>
<li><span class="icon tarih"></span> <?php the_time('d'); ?> <?php the_time('M'); ?> <?php the_time('Y'); ?></li>
<li><span class="icon gonderen"></span> <?php the_author(); ?></li>
<li><span class="icon okunma"></span> <?php if(function_exists('the_views')) { the_views(); } ?> Okunma</li>
<li><span class="icon yorum"></span> <?php comments_number('Yorum Yok', '1 Yorum ', '% Yorum' );?></li>
</ul>
<a class="incele" href="<?php the_permalink(); ?>">Devamı...</a>
<div class="temizle"></div>
</div>
<?php endwhile; else: ?>
Yazı yok
<?php endif; ?>
<?php
include(TEMPLATEPATH . '/wp-pagenavi.php');
if (function_exists('wp_pagenavi')) { wp_pagenavi(); }
?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>