Advertisement
Guest User

InStyle Theme 2.7 Page

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