advantage_post_summary_meta

The Advantage advantage post summary meta function.

Description

advantage_post_summary_meta( (int) $meta_flag = 0 ); 

Parameters (1)

0. $meta_flag — Optional. (int)
The meta flag.

Usage

  1. if ( !function_exists( 'advantage_post_summary_meta' ) ) { 
  2. require_once '/functions.php'; 
  3.  
  4. // The meta flag. 
  5. $meta_flag = -1; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = advantage_post_summary_meta($meta_flag); 
  9.  

Defined (1)

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

/functions.php  
  1. function advantage_post_summary_meta( $meta_flag = 0 ) { 
  2. global $advantage_entry_meta; 
  3.  
  4. echo '<div class="entry-meta entry-meta-summary clearfix">'; 
  5. if ( ( $advantage_entry_meta || $meta_flag ) && 'post' == get_post_type() ) { 
  6. advantage_meta_date( $meta_flag ); 
  7. advantage_meta_author( $meta_flag ); 
  8. advantage_meta_category( $meta_flag ); 
  9. advantage_meta_tag( $meta_flag ); 
  10. advantage_meta_comment( $meta_flag ); 
  11. edit_post_link( '<i class="icon-pencil"></i> ' . __( '[Edit]', 'advantage' ), '<span class="edit-link">', '</span>' );  
  12. echo '</div>';