advantage_post_title

The Advantage advantage post title function.

Description

advantage_post_title(); 

Usage

  1. if ( !function_exists( 'advantage_post_title' ) ) { 
  2. require_once '/inc/lib-content.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = advantage_post_title(); 
  7.  

Defined (1)

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

/inc/lib-content.php  
  1. function advantage_post_title() { 
  2. global $advantage_layout; 
  3. if ( ! is_single() ) { 
  4. printf('<h2 class="entry-title"><a href="%1$s" title="%2$s" rel="bookmark">%3$s</a></h2>',  
  5. get_permalink(),  
  6. sprintf( esc_attr__( 'Permalink to %s', 'advantage' ), the_title_attribute( 'echo=0' ) ),  
  7. get_the_title() ); 
  8. else { 
  9. /** printf('<h1 class="entry-title">%1$s</h1>',  
  10. get_the_title() ); */