Merhaba arkadaşlar, wordpress tabanlı sitemde anasayfada yazılar gözükmüyor. Sadece konu başlıkları çıkıyor.
<?php the_content(); ?>
<?php get_the_content(); ?> tüm kodları denedim ancak bir türlü yazıların içeriğini anasayfada gösteremiyorum.
index.php bu şekilde:
<?php get_header(); ?><?php global $optionsdb; ?>
<section id="content">
<?php if (have_posts()) : while (have_posts()) : the_post(); //Get posts
$titlupost = get_the_title();
$posturl = get_permalink();
?>
<article class="item">
<div class="date"><?php echo get_the_date('d.M.Y'); ?></div>
<div class="title"><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></div>
<?php if((isset($optionsdb['cwp_b_featureimg']) && $optionsdb['cwp_b_featureimg'] == 'Show') || !isset($optionsdb['cwp_b_featureimg'])) { ?>
<div class="image">
<?php
$feat_image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'single-post-thumbnail' );
if(isset($feat_image[0])):
echo '<a href='.$posturl.' title="'.$titlupost.'"><img src='.$feat_image[0].' alt="'.$titlupost.'"></a>';
endif;
?>
</div>
<?php } ?>
<div class="excerpt"><?php get_the_content('.. devamını oku »'); ?></div>
</article><!--index article end-->
<?php endwhile;
/* Use PageNavi*/ else : ?>
<?php _e('404 - Bulunamadı','cwp') ?>;
<?php endif; ?>
<div class="buton_ileri"><?php next_posts_link('<img src="http://siteadresi.com/wp-content/themes/twentytwelve/images/ileri.png">') ?></div>
<div class="buton_geri"><?php previous_posts_link('<img src="http://siteadresi.com/wp-content/themes/twentytwelve/images/geri.png">') ?></div>
</section><!--#content end-->
<?php get_footer(); ?>Şimdiden teşekkürler.