Advertisement
jegtheme

clean.php

Jun 26th, 2014
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.46 KB | None | 0 0
  1. <?php
  2.     $featured = jeg_get_featured_heading(get_the_ID(), 925, '');
  3. ?>
  4.  
  5. <div class="clean-blog-article">
  6.     <div class="clean-blog-content">
  7.         <div class="clean-blog-content-wrapper">
  8.             <div class="article-header">
  9.                 <a href="<?php echo get_permalink() ?>"><h2><?php echo get_the_title(); ?></h2></a>
  10.             </div>
  11.             <div class="article-content">
  12.                 <p class="post-excerpt">
  13.                     <?php the_content() ?>
  14.                 </p>
  15.             </div>
  16.             <?php if(!post_password_required() && !empty($featured)) { ?>
  17.             <div class='featured'>
  18.                 <?php echo $featured ?>
  19.             </div>
  20.             <?php } ?>
  21.             <?php
  22.                 if(!vp_metabox('jkreativ_page_meta_btm.hide_bottom_meta', null, JEG_PAGE_ID) && !post_password_required() ) {
  23.                     jeg_get_template_part('template/blogpost/article-bottom-meta');
  24.                 }
  25.             ?>
  26.         </div>
  27.     </div>
  28.     <div class="clean-blog-meta">
  29.         <div class="clean-blog-meta-wrapper">
  30.             <div class="clean-meta-top"><a href="<?php echo get_author_posts_url(get_the_author_meta('ID')); ?>"><?php echo get_the_author(); ?></a>, <?php echo get_the_date(); ?></div>
  31.  
  32.             <?php if(!vp_metabox('jkreativ_page_share.hide_share_button', null, JEG_PAGE_ID) && !post_password_required() ) { ?>
  33.                 <div class="article-sharing">
  34.                     <?php jeg_get_template_part('template/blogpost/article-sharing-clean'); ?>
  35.                 </div> <!-- article sharing -->
  36.             <?php } ?>
  37.         </div>
  38.     </div>
  39. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement