mh_magazine_lite_loop_meta

The MH Magazine lite mh magazine lite loop meta function.

Description

mh_magazine_lite_loop_meta(); 

Usage

  1. if ( !function_exists( 'mh_magazine_lite_loop_meta' ) ) { 
  2. require_once '/includes/mh-custom-functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = mh_magazine_lite_loop_meta(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/includes/mh-custom-functions.php  
  1. function mh_magazine_lite_loop_meta() { 
  2. echo '<span class="mh-meta-date updated"><i class="fa fa-clock-o"></i>' . get_the_date() . '</span>' . "\n"; 
  3. if (in_the_loop()) { 
  4. echo '<span class="mh-meta-author author vcard"><i class="fa fa-user"></i><a class="fn" href="' . esc_url(get_author_posts_url(get_the_author_meta('ID'))) . '">' . esc_html(get_the_author()) . '</a></span>' . "\n"; 
  5. echo '<span class="mh-meta-comments"><i class="fa fa-comment-o"></i>'; 
  6. echo '</span>' . "\n";