Guest User

Untitled

a guest
Nov 13th, 2011
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.15 KB | None | 0 0
  1. <?php get_header(); ?>
  2. <?php if (get_option('professional_integration_single_top') <> '' && get_option('professional_integrate_singletop_enable') == 'on') echo(get_option('professional_integration_single_top')); ?>
  3.  
  4. <div id="content-top" class="top-alt"></div>
  5. <div id="content" class="clearfix content-alt">
  6. <div id="content-area">
  7. <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
  8. <?php get_template_part('includes/breadcrumbs'); ?>
  9.  
  10. <?php if (get_option('professional_integration_single_top') <> '' && get_option('professional_integrate_singletop_enable') == 'on') echo(get_option('professional_integration_single_top')); ?>
  11.  
  12. <div class="entry clearfix post">
  13. <h1 class="title"><?php the_title(); ?></h1>
  14.  
  15. <?php if (get_option('professional_page_thumbnails') == 'on') { ?>
  16.  
  17. <?php $thumb = '';
  18. $width = 184;
  19. $height = 184;
  20. $classtext = '';
  21. $titletext = get_the_title();
  22.  
  23. $thumbnail = get_thumbnail($width,$height,$classtext,$titletext,$titletext);
  24. $thumb = $thumbnail["thumb"]; ?>
  25.  
  26. <?php if($thumb <> '') { ?>
  27. <div class="thumb alignleft">
  28. <?php print_thumbnail($thumb, $thumbnail["use_timthumb"], $titletext, $width, $height, $classtext); ?>
  29. <span class="overlay"></span>
  30. </div> <!-- end .thumb -->
  31. <?php }; ?>
  32.  
  33. <?php }; ?>
  34.  
  35. <?php the_content(); ?>
  36. <?php wp_link_pages(array('before' => '<p><strong>'.esc_html__('Pages','Professional').':</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
  37. <?php edit_post_link(esc_html__('Edit this page','Professional')); ?>
  38.  
  39. </div> <!-- end .entry -->
  40.  
  41. <?php if (get_option('professional_integration_single_bottom') <> '' && get_option('professional_integrate_singlebottom_enable') == 'on') echo(get_option('professional_integration_single_bottom')); ?>
  42.  
  43. <?php if (get_option('professional_show_pagescomments') == 'on') comments_template('', true); ?>
  44. <?php endwhile; endif; ?>
  45. </div> <!-- end #content-area -->
  46.  
  47. <?php get_sidebar(); ?>
  48.  
  49. </div> <!-- end #content -->
  50. <div id="content-bottom" class="bottom-alt"></div>
  51.  
  52. <?php get_footer(); ?>
  53.  
Advertisement
Add Comment
Please, Sign In to add comment