Проблем с Wordpress theme

JoKs

Registered
Здравейте, отворете този сайт -> www.insane.spokohost.0lx.net и вижте сами как е :@ Другите страници си бачкат нормално, но началната нещо се ебава... що така :( ?
 
INDEX.PHP
Код:
<?php get_header(); ?>	

<div id="container">
	
<div id="left-div">
		
<div id="left-inside">
			
<?php if (have_posts()) : while (have_posts()) : the_post(); 
  if( $post->ID == $do_not_duplicate ) continue; update_post_caches($posts); ?>

<?php 
// check for thumbnail
$thumb = get_post_meta($post->ID, 'Thumbnail', $single = true);
// check for thumbnail class
$thumb_class = get_post_meta($post->ID, 'Thumbnail Class', $single = true);
// check for thumbnail alt text
$thumb_alt = get_post_meta($post->ID, 'Thumbnail Alt', $single = true);
 ?>

<div class="home-post-wrap">

<img src="<?php bloginfo('stylesheet_directory'); ?>/images/delete.gif" alt="delete" class="delete" style="float: right; margin-top: -5px; margin-right: -5px; cursor: pointer;" />

<div style="clear: both;"></div>


<div class="entry">
<?php // if there's a thumbnail
if($thumb !== '') { ?>
<div class="thumbnail-div">
<img src="<?php echo $thumb; ?>" width="573px" height="187px" alt="<?php if($thumb_alt !== '') { echo $thumb_alt; } else { echo the_title(); } ?>" />
</div>
<?php } // end if statement
// if there's not a thumbnail
else { echo ''; } ?>
<div class="post-info">Posted by <?php the_author() ?> in  <?php the_category(', ') ?> on  <?php the_time('m jS, Y') ?> |  <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></div>
<span class="titles"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title2('', '...', true, '40') ?></a></span>
<?php the_content_limit(300, ""); ?>
<div class="readmore"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">Read More</a></div>
</div>
</div>


<?php endwhile; ?>

<div style="clear: both;"></div>

<p class="pagination"><?php next_posts_link('« Previous Entries') ?> <?php previous_posts_link('Next Entries »') ?></p>

<?php else : ?>


<h2 >No Results Found</h2>
<p>Sorry, your search returned zero results. </p>


<?php endif; ?>
			
</div>
		
</div>


<?php get_sidebar(); ?>



<?php get_footer(); ?>   


</body>
</html>



Имам и home.php ето го за всеки случай :)
Код:
<?php get_header(); ?>	

<div id="container">
	
<div id="left-div">
		
<div id="left-inside">

<?php if (have_posts()) : while (have_posts()) : the_post(); 
if( $post->ID == $do_not_duplicate ) continue; update_post_caches($posts); ?>

<?php 
// check for thumbnail
$thumb = get_post_meta($post->ID, 'Thumbnail', $single = true);
// check for thumbnail class
$thumb_class = get_post_meta($post->ID, 'Thumbnail Class', $single = true);
// check for thumbnail alt text
$thumb_alt = get_post_meta($post->ID, 'Thumbnail Alt', $single = true);
?>

<div class="home-post-wrap">


<img src="<?php bloginfo('stylesheet_directory'); ?>/images/delete.gif" alt="delete" class="delete" style="float: right; margin-bottom: 5px; cursor: pointer;" />



<img src="<?php bloginfo('stylesheet_directory'); ?>/images/share.gif" alt="delete" class="share" style="float: right; margin-right: 10px; margin-bottom: 5px; cursor: pointer; clear: left;" />
<div class="share-div" style="clear: both;">
<a href="http://del.icio.us/post?url=<?php the_permalink() ?>&title=<?php the_title(); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/bookmark-1.gif" alt="bookmark" style="float: left; margin-left: 15px; margin-right: 8px; border: none;" /></a>
<a href="http://www.digg.com/submit?phase=2&url=<?php the_permalink() ?>&title=<?php the_title(); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/bookmark-2.gif" alt="bookmark" style="float: left; margin-right: 8px; border: none;" /></a>
<a href="http://www.reddit.com/submit?url=<?php the_permalink() ?>&title=<?php the_title(); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/bookmark-3.gif" alt="bookmark" style="float: left; margin-right: 8px; border: none;" /></a>
<a href="http://www.stumbleupon.com/submit?url=<?php the_permalink() ?>&title=<?php the_title(); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/bookmark-4.gif" alt="bookmark" style="float: left; margin-right: 8px; border: none;" /></a>
<a href="http://www.squidoo.com/lensmaster/bookmark?<?php the_permalink() ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/bookmark-5.gif" alt="bookmark" style="float: left; margin-right: 8px; border: none;" /></a>
<a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?t=<?php the_title(); ?>&u=<?php the_permalink() ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/bookmark-6.gif" alt="bookmark" style="float: left; margin-right: 8px; border: none;" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&bkmk=<?php the_permalink() ?>&title=<?php the_title(); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/bookmark-7.gif" alt="bookmark" style="float: left; margin-right: 8px; border: none;" /></a>
<a href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&Url=<?php the_permalink() ?>&Title=<?php the_title(); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/bookmark-8.gif" alt="bookmark" style="float: left; margin-right: 8px; border: none;" /></a>
<a href="http://www.technorati.com/faves?add=<?php the_permalink() ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/bookmark-9.gif" alt="bookmark" style="float: left; margin-right: 8px; border: none;" /></a>
<a href="http://www.furl.net/storeIt.jsp?t=<?php the_title(); ?>&u=<?php the_permalink() ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/bookmark-10.gif" alt="bookmark" style="float: left; margin-right: 8px; border: none;" /></a>
<a href="http://cgi.fark.com/cgi/fark/edit.pl?new_url=<?php the_permalink() ?>&new_comment=<?php the_title(); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/bookmark-11.gif" alt="bookmark" style="float: left; margin-right: 8px; border: none;" /></a>
<a href="http://www.sphinn.com/submit.php?url=<?php the_permalink() ?>&title=<?php the_title(); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/bookmark-12.gif" alt="bookmark" style="float: left; margin-right: 8px; border: none;" /></a>
</div>


<div style="clear: both;"></div>


<div class="entry">
<?php // if there's a thumbnail
if($thumb !== '') { ?>
<div class="thumbnail-div">
<img src="<?php echo $thumb; ?>" width="573px" height="187px" alt="<?php if($thumb_alt !== '') { echo $thumb_alt; } else { echo the_title(); } ?>" />
</div>
<?php } // end if statement
// if there's not a thumbnail
else { echo ''; } ?>
<div class="post-info">Posted by <?php the_author() ?> in  <?php the_category(', ') ?> on  <?php the_time('m jS, Y') ?> |  <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></div>
<span class="titles"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title2('', '...', true, '40') ?></a></span>
<?php the_content_limit(580, ""); ?>
<div class="readmore"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">Read More</a></div>
</div>
</div>


<?php endwhile; ?>

<div style="clear: both;"></div>

<p class="pagination"><?php next_posts_link('« Previous Entries') ?> <?php previous_posts_link('Next Entries »') ?></p>

<?php else : ?>


<h2 >No Results Found</h2>
<p>Sorry, your search returned zero results. </p>


<?php endif; ?>
			
</div>
		
</div>


<?php get_sidebar(); ?>    



<?php get_footer(); ?>   


</body>
</html>
 
Не виждам да има проблем с началната страница.
Дай снимка да видим как е при тебе.

П.С: Какво общо темата ти с раздела ? Раздела се казва "PHP-Fusion".
 

Back
Горе