Advertisement
Guest User

Untitled

a guest
Jun 20th, 2012
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None | 0 0
  1. <?php get_header(); ?>
  2.  
  3. <?php get_template_part('includes/breadcrumbs'); ?>
  4. <?php get_template_part('includes/top_info'); ?>
  5.  
  6. <div id="content" class="clearfix">
  7. <div id="left-area">
  8. <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
  9. <div class="entry post clearfix">
  10. <?php if (get_option('chameleon_page_thumbnails') == 'on') { ?>
  11. <?php
  12. $thumb = '';
  13. $width = 186;
  14. $height = 186;
  15. $classtext = 'post-thumb';
  16. $titletext = get_the_title();
  17. $thumbnail = get_thumbnail($width,$height,$classtext,$titletext,$titletext,false,'Entry');
  18. $thumb = $thumbnail["thumb"];
  19. ?>
  20.  
  21. <?php if($thumb <> '') { ?>
  22. <div class="post-thumbnail">
  23. <?php print_thumbnail($thumb, $thumbnail["use_timthumb"], $titletext, $width, $height, $classtext); ?>
  24. <span class="post-overlay"></span>
  25. </div> <!-- end .post-thumbnail -->
  26. <?php } ?>
  27. <?php } ?>
  28.  
  29. <?php the_content(); ?>
  30. <?php wp_link_pages(array('before' => '<p><strong>'.esc_html__('Pages','Chameleon').':</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
  31. <?php edit_post_link(esc_html__('Edit this page','Chameleon')); ?>
  32. </div> <!-- end .entry -->
  33.  
  34. <?php if (get_option('chameleon_show_pagescomments') == 'on') comments_template('', true); ?>
  35. <?php endwhile; endif; ?>
  36. </div> <!-- end #left-area -->
  37.  
  38. <?php get_sidebar(); ?>
  39. </div> <!-- end #content -->
  40.  
  41. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement