Advertisement
Guest User

page

a guest
Mar 27th, 2012
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.93 KB | None | 0 0
  1. <?php get_header(); ?>
  2. <?php if (get_option('thesource_integration_single_top') <> '' && get_option('thesource_integrate_singletop_enable') == 'on') echo(get_option('thesource_integration_single_top')); ?>
  3.  
  4. <div id="main-content-wrap">
  5. <div id="main-content" class="clearfix">
  6. <?php get_template_part('includes/breadcrumb'); ?>
  7. <div id="top-shadow"<?php if(is_front_page()) echo(' class="nobg"'); ?>></div>
  8.  
  9. <div id="recent-posts" class="clearfix">
  10. <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
  11. <div class="entry post clearfix">
  12. <h1 class="title"><?php the_title(); ?></h1>
  13. <div class="entry-content">
  14. <?php $thumb = '';
  15. $width = (int) get_option('thesource_thumbnail_width_pages');
  16. $height = (int) get_option('thesource_thumbnail_height_pages');
  17. $classtext = 'thumb alignleft';
  18. $titletext = get_the_title();
  19.  
  20. $thumbnail = get_thumbnail($width,$height,$classtext,$titletext,$titletext);
  21. $thumb = $thumbnail["thumb"]; ?>
  22.  
  23. <?php if($thumb <> '' && get_option('thesource_page_thumbnails') == 'on') { ?>
  24. <?php print_thumbnail($thumb, $thumbnail["use_timthumb"], $titletext , $width, $height, $classtext); ?>
  25. <p class="date"><span><?php the_time(get_option('thesource_date_format')) ?></span></p>
  26. <?php }; ?>
  27.  
  28. <?php the_content(); ?>
  29. <?php wp_link_pages(array('before' => '<p><strong>'.esc_html__('Pages','TheSource').':</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
  30. <?php edit_post_link(esc_html__('Edit this page','TheSource')); ?>
  31. </div> <!-- end .entry-content -->
  32. </div> <!-- end .entry -->
  33.  
  34. <?php if (get_option('thesource_show_pagescomments') == 'on') comments_template('', true); ?>
  35. <?php endwhile; endif; ?>
  36. </div> <!-- end #recent-posts -->
  37.  
  38. <?php get_sidebar(); ?>
  39. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement