mh_magazine_lite_author_box

The MH Magazine lite mh magazine lite author box function.

Description

mh_magazine_lite_author_box(); 

Usage

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

Defined (1)

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

/includes/mh-custom-functions.php  
  1. function mh_magazine_lite_author_box() { 
  2. $mh_magazine_lite_options = mh_magazine_lite_theme_options(); 
  3. $mh_author_box_ID = get_the_author_meta('ID'); 
  4. if ($mh_magazine_lite_options['author_box'] == 'enable' && get_the_author_meta('description', $mh_author_box_ID) && !is_attachment()) { 
  5. get_template_part('content', 'author-box');