Advertisement
Guest User

mesocolumn -post-meta.php

a guest
Jun 30th, 2015
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.73 KB | None | 0 0
  1. <div class="post-meta the-icons pmeta-alt<?php global $in_bbpress; if( is_page() || $in_bbpress == 'true' ) { echo ' meta-no-display'; } ?>">
  2.  
  3. <?php do_action('meso_before_post_meta'); ?>
  4.  
  5. <span class="post-author vcard"><i class="fa fa-user"></i><?php the_author_posts_link(); ?></span>
  6.  
  7. <?php
  8. $getmodtime = get_the_modified_time(); if( !$getmodtime ) {
  9. $modtime = '<span class="date updated meta-no-display">'. get_the_time('c') . '</span>';
  10. } else {
  11. $modtime = '<span class="date updated meta-no-display">'. get_the_modified_time('c') . '</span>';
  12. }
  13. ?>
  14. <span class="entry-date post-date"><i class="fa fa-clock-o"></i><abbr class="published" title="<?php echo esc_attr( get_the_date( 'c' ) ); ?>"><?php echo the_time( get_option( 'date_format' ) ); ?></abbr></span>
  15. <span class="meta-no-display"><a href="<?php echo esc_url( get_permalink() ); ?>" rel="bookmark"><?php echo the_title_attribute(); ?></a></span><?php echo $modtime; ?>
  16.  
  17.  
  18. <?php if(get_post_type() != 'post' && get_post_type() != 'page'): ?>
  19. <?php echo the_taxonomies('before=<span class="post-category"><i class="fa fa-file"></i>&after=</span>'); ?>
  20. <?php else: ?>
  21. <?php if( get_post_type() != 'page') { ?>
  22. <?php if( !in_category('1') ) { ?>
  23. <span class="post-category"><i class="fa fa-file"></i><?php if( is_singular() ) { echo the_category(', '); } else { echo dez_get_singular_cat(); } ?></span>
  24. <?php } ?>
  25. <?php } ?>
  26. <?php endif; ?>
  27.  
  28.  
  29. <?php if ( comments_open() ) { ?>
  30. <?php if( !is_tax() ) { ?>
  31. <span class="post-comment last"><i class="fa fa-comment"></i><?php comments_popup_link(__('No Comment','mesocolumn'), __('1 Comment','mesocolumn'), __('% Comments','mesocolumn') ); ?></span>
  32. <?php } ?>
  33. <?php } ?>
  34.  
  35. <?php do_action('meso_after_post_meta'); ?>
  36.  
  37. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement