Advertisement
Guest User

single.php mesocolumn

a guest
Oct 7th, 2016
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.58 KB | None | 0 0
  1. <?php get_header(); ?>
  2.  
  3. <?php do_action( 'bp_before_content' ); ?>
  4. <!-- CONTENT START -->
  5. <div class="content">
  6. <div class="content-inner">
  7.  
  8. <?php do_action( 'bp_before_blog_home' ); ?>
  9.  
  10. <!-- POST ENTRY START -->
  11. <div id="post-entry">
  12.  
  13. <div class="post-entry-inner">
  14.  
  15. <?php do_action( 'bp_before_blog_entry' ); ?>
  16.  
  17. <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
  18.  
  19. <?php do_action( 'bp_before_blog_post' ); ?>
  20.  
  21. <!-- POST START -->
  22. <article <?php post_class('post-single'); ?> id="post-<?php the_ID(); ?>" <?php do_action('bp_article_start'); ?>>
  23.  
  24. <div class="post-top">
  25. <h1 class="post-title entry-title" <?php do_action('bp_article_post_title'); ?>><?php the_title(); ?></h1>
  26. <?php get_template_part( 'lib/templates/post-meta' ); ?>
  27. </div>
  28.  
  29. <?php do_action( 'bp_before_post_content' ); ?>
  30.  
  31. <div class="post-content">
  32.  
  33. <?php $get_ads_single_top = get_theme_mod('ads_single_top'); if($get_ads_single_top != '') { ?>
  34. <div class="adsense-single adtop"><?php echo stripcslashes(do_shortcode($get_ads_single_top)); ?></div>
  35. <?php } ?>
  36.  
  37. <div class="entry-content" <?php do_action('bp_article_post_content'); ?>>
  38. <?php the_content( __('...more &raquo;','mesocolumn') ); ?>
  39. </div>
  40. <?php wp_link_pages('before=<div id="page-links">&after=</div>'); ?>
  41.  
  42. <?php $get_ads_single_bottom = get_theme_mod('ads_single_bottom'); if($get_ads_single_bottom != '') { ?>
  43. <div class="adsense-single adbottom"><?php echo stripcslashes(do_shortcode($get_ads_single_bottom)); ?></div>
  44. <?php } ?>
  45.  
  46. </div>
  47.  
  48. <?php do_action( 'bp_after_post_content' ); ?>
  49.  
  50. <?php get_template_part( 'lib/templates/post-meta', 'bottom' ); ?>
  51.  
  52. <?php $get_related = get_theme_mod('related_on'); if($get_related == 'enable'):
  53. get_template_part( 'lib/templates/related' );
  54. endif
  55. ?>
  56.  
  57. </article>
  58. <!-- POST END -->
  59.  
  60. <?php do_action( 'bp_after_blog_post' ); ?>
  61.  
  62. <?php if( function_exists('dez_set_wp_post_view') ){ dez_set_wp_post_view( get_the_ID() ); } ?>
  63.  
  64. <?php endwhile; ?>
  65.  
  66. <?php
  67. $get_author_bio = get_theme_mod('author_bio_on'); if($get_author_bio == 'enable'):
  68. get_template_part( 'lib/templates/author-bio' );
  69. endif
  70. ?>
  71.  
  72. <?php comments_template(); ?>
  73.  
  74. <?php else : ?>
  75.  
  76. <?php get_template_part( 'lib/templates/result' ); ?>
  77.  
  78. <?php endif; ?>
  79.  
  80. <?php get_template_part( 'lib/templates/paginate' ); ?>
  81.  
  82. <?php do_action( 'bp_after_blog_entry' ); ?>
  83. </div>
  84. </div>
  85. <!-- POST ENTRY END -->
  86.  
  87. <?php do_action( 'bp_after_blog_home' ); ?>
  88.  
  89. </div><!-- CONTENT INNER END -->
  90. </div><!-- CONTENT END -->
  91.  
  92. <?php do_action( 'bp_after_content' ); ?>
  93.  
  94. <?php get_sidebar(); ?>
  95.  
  96. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement