Advertisement
Guest User

Untitled

a guest
Feb 29th, 2012
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.80 KB | None | 0 0
  1. <?php get_header(); ?>
  2.  
  3. <div class="page_title clearfix">
  4. <h1><?php echo ( get_option_tree( 'blogtitle' ) ? get_option_tree( 'blogtitle' ) : 'Blog' ); ?><span><?php echo ( get_option_tree( 'blogtagline' ) ? get_option_tree( 'blogtagline' ) : '' ); ?></span></h1>
  5. </div>
  6.  
  7. <div class="postcontent">
  8.  
  9. <?php if (have_posts()) : ?>
  10.  
  11. <ul class="posts clearfix">
  12.  
  13. <?php
  14.  
  15. while (have_posts()) : the_post();
  16.  
  17. $postformat = get_post_format();
  18. get_template_part( 'include/post', $postformat );
  19.  
  20. if($postformat == '')
  21. get_template_part( 'include/post', 'standard' );
  22.  
  23. endwhile;
  24.  
  25. ?>
  26.  
  27. </ul>
  28.  
  29. <div class="navigation page-navigation clearfix">
  30. <div class="nav-previous"><?php next_posts_link(__('&larr; Older Entries', 'chthemes')); ?></div>
  31. <div class="nav-next"><?php previous_posts_link(__('Newer Entries &rarr;', 'chthemes')); ?></div>
  32. </div>
  33.  
  34. <?php else: ?>
  35.  
  36. <div class="styledmsg errormsg clearfix"><span class="clearfix"><?php _e("Sorry, Couldn't find any Posts..!", "chthemes") ?></span></div>
  37.  
  38. <?php endif; ?>
  39.  
  40. </div>
  41.  
  42.  
  43. <div class="sidebar col_last">
  44.  
  45. <?php get_sidebar(); ?>
  46.  
  47. </div>
  48.  
  49. <div class="clear"></div>
  50.  
  51. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement