Site
Burası Crossblock teması yukledım , ana sayfada 2 sn görünüyor sonra boş sayfa geliyor.
sebebi ne olabilir arkadaslar?
Sanırım index.php de hata index.php kodları
<?php get_header(); ?>
<?php
$crossblock_postimage_disable = get_option('crossblock_postimage_disable');
$crossblock_featured_disable = get_option('crossblock_featured_disable');
$crossblock_featured_cat = get_option('crossblock_featured_cat');
if ($crossblock_featured_disable != 'true' && $crossblock_postimage_disable != 'true' && $crossblock_featured_cat) {
$crossblock_featured_limit = get_option('crossblock_featured_limit');
if (!is_numeric($crossblock_featured_limit) || $crossblock_featured_limit=='' ) { $crossblock_featured_limit = 6; }
?>
<div id="leftandright">
<div id="leftcontent">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<?php
$crossblock_postthumbnail_disable = get_option('crossblock_postthumbnail_disable');
if ($crossblock_postthumbnail_disable != 'true') {
/* post thumbnail */
$rs_image_key = 'thumbnail';
$thereisimage = get_post_meta($post->ID, $rs_image_key, true);
if(!$thereisimage) {
$crossblock_postthumbnail_default = get_option('crossblock_postthumbnail_default');
if ($crossblock_postthumbnail_default) { $thereisimage = $crossblock_postthumbnail_default; } else {
$thereisimage = get_bloginfo('template_directory').'/images/blank.jpg';
}
}
$crossblock_thumbnail_code = '<div class="thumbnail_holder"><a title="'.htmlspecialchars($post->post_title).'" href="'.get_permalink($post->ID).'"><img class="thumbnail" src="'.$thereisimage.'" alt="Post Thumbnail of '.htmlspecialchars($post->post_title).'" /></a></div>';
$extrawidth = '';
} else {
$crossblock_thumbnail_code = '';
$extrawidth = ' extrawidth';
}
?>
<div class="oneblog_top"></div>
<div class="oneblog">
<h1><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>
<?php echo $crossblock_thumbnail_code; ?>
<div class="excerpt<?php echo $extrawidth; ?>">
<div class="excerpt_topbtm"></div>
<div class="excerpt_details"><img src="<?php bloginfo('template_directory'); ?>/images/folder.gif" alt="" /> <?php the_category(','); ?> </div><div class="excerpt_topbtm"></div>
<?php the_excerpt(); ?>
</div><!--/excerpt-->
<div class="clear"></div>
<div class="excerpt_detailbtm">
<span class="left"><img src="<?php bloginfo('template_directory'); ?>/images/calendar.gif" alt="" /> <?php the_time('j F Y'); ?></span>
<span class="right"><img src="<?php bloginfo('template_directory'); ?>/images/comment.gif" alt="" /> <?php comments_popup_link('No comments', '1 comment', '% comments'); ?></span>
<div class="clear"></div>
</div>
</div><!--/oneblog-->
<div class="oneblog_btm"></div>
<?php
endwhile;
include('wp-pagenavi.php');
if (function_exists('wp_pagenavi')) { wp_pagenavi(); }
?>
<?php
else :
?>
<div class="oneblog_top"></div>
<div class="single_post">
<h2>Not Found</h2>
<p>Sorry, but you are looking for something that isn't here.</p>
</div><!--/single_post-->
<div class="oneblog_btm"></div>
<?php
endif;
?>
</div><!--/leftcontent-->
<?php get_sidebar(); ?>
<div class="clear"></div>