OK, Here's what I did. at http://www.newyorkpetanque.com I was trying to change the single.php code so that all my posts were fullwidth with no sidebar. Now, the page is blank when I click on a post. I deleted something that I shouldn't have deleted.
Here's my code as of right now... I deleted the conditional stuff that was at the top.
<?php
<!-- ###################################################################### -->
<div id="main">
<!-- ###################################################################### -->
<div id="content">
<?php
if (have_posts()) :
while (have_posts()) : the_post();
$preview_image = kriesi_post_thumb($post->ID, array('size'=> array('M'),
'display_link' => array('lightbox'), // '_prev_image_link' or array('lightbox')
'linkurl' => array ('fullscreen','_preview_big'),
'wh' => $k_option['custom']['imgSize']['M']
));
?>
<div class="entry entry-no-pic">
<div class="entry-content ">
<h1 class="entry-heading">
" rel="bookmark" title="<?php _e('Permanent Link:','newscast')?> <?php the_title(); ?>">
<?php the_title(); ?>
</h1>
<div class="entry-head">
<span class="date ie6fix"><?php the_time('M d, Y') ?></span>
<span class="comments ie6fix"><?php comments_popup_link(__('No Comments','newscast'), __('1 Comment','newscast'), __('% Comments','newscast')); ?></span>
<span class="author ie6fix"><?php _e('by','newscast');?> <?php the_author_posts_link(); ?></span>
</div>
<div class="entry-text">
<?php
the_content();
edit_post_link(__('Edit','newscast'), '', '');
?>
</div>
<div class="entry-bottom">
<span class="categories"><?php the_category(', '); ?></span>
</div>
</div><!--end entry_content-->
</div><!--end entry -->
<div class='entry' id="author-box">
<div class="gravatar">
<?php
$author_email = get_the_author_email();
echo get_avatar( $author_email, $size = '60');
the_author_posts_link();
?>
</div>
<div class="author-info">
<h3><?php _e('About the author','newscast'); ?></h3>
<?php
$description = get_the_author_description();
if($description != '')
{
echo $description;
}
else
{
_e('The author didnt add any Information to his profile yet','newscast');
}
?>
</div>
</div>
<div id='social_icons'>
- &title=<?php the_title(); ?>">StumbleUpon
- ">Digg
- ">Technorati
- &title=<?php the_title(); ?>">Delicious
</div>
<div class='entry commententry'>
<?php comments_template(); ?>
</div>
<?php
endwhile;
else:
echo'<div class="entry">';
echo'<h2>'.__('Nothing Found','newscast').'</h2>';
echo'<p>'.__('Sorry, no posts matched your criteria','newscast').'</p>';
echo'</div>';
endif;
// end content: ?></div>
<?php
get_sidebar();
get_footer();
?>














