mh_impact_lite_post_meta

The MH Impact lite mh impact lite post meta function.

Description

mh_impact_lite_post_meta(); 

Usage

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

Defined (1)

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

/includes/mh-custom-functions.php  
  1. function mh_impact_lite_post_meta() { 
  2. echo '<p class="entry-meta">' . "\n"; 
  3. echo '<span class="entry-date updated"><i class="fa fa-calendar"></i>' . get_the_date() . '</span>' . "\n"; 
  4. echo '<span class="vcard author"><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. if ('post' == get_post_type()) { 
  6. echo '<span class="entry-cats"><i class="fa fa-chevron-circle-right"></i>' . get_the_category_list(', ', '') . '</span>' . "\n"; 
  7. echo '</p>' . "\n";