Created
January 16, 2013 01:07
-
-
Save anonymous/4543742 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$k_option['custom']['bodyclass'] = ""; //<-- Display Sidebar | |
// $k_option['custom']['bodyclass'] = "fullwidth"; //<-- Dont display Sidebar | |
get_header(); ?> | |
$preview_image | |
<!-- ###################################################################### --> | |
<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"> | |
<a href="<?php echo get_permalink() ?>" rel="bookmark" title="<?php _e('Permanent Link:','newscast')?> <?php the_title(); ?>"> | |
<?php the_title(); ?> | |
</a> | |
</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 commententry'> | |
<?php if ( comments_open() ) : ?> | |
<?php comments_template(); ?> | |
<?php endif; ?> | |
</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(); | |
?> | |
<?php wp_link_pages(); ?> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment