';
}
}
endif;
/**
* Display the primary menu area
*
* @since 1.0
* @access public
* @return void
*/
if ( !function_exists( 'hoot_header_aside' ) ):
function hoot_header_aside() {
?>
>
' .
sprintf( __( 'You are using an outdated browser (IE 8 or before). For a better user experience, we recommend %1supgrading your browser today%2s or %3sinstalling Google Chrome Frame%4s', 'creattica' ), '', '', '', '' ) .
'
';
echo apply_filters( 'hoot_update_browser_notice', $notice );
}
endif;
/**
* Temporarily remove read more links from excerpts
*
* @since 1.0
* @access public
*/
if ( !function_exists( 'hoot_remove_readmore_link' ) ):
function hoot_remove_readmore_link() {
add_filter( 'hoot_readmore', 'hoot_readmore_empty_string' );
}
endif;
if ( !function_exists( 'hoot_readmore_empty_string' ) ):
function hoot_readmore_empty_string() {
return '';
}
endif;
/**
* Reinstate read more links to excerpts
*
* @since 1.0
* @access public
*/
if ( !function_exists( 'hoot_reinstate_readmore_link' ) ):
function hoot_reinstate_readmore_link() {
remove_filter( 'hoot_readmore', 'hoot_readmore_empty_string' );
}
endif;
/**
* Display title area content
*
* @since 1.0
* @access public
* @return void
*/
if ( !function_exists( 'hoot_display_loop_title_content' ) ):
function hoot_display_loop_title_content( $location = 'pre', $context = '' ) {
$pre_title_content_post = apply_filters( 'loop_meta_pre_title_content_post', '', $location, $context );
if ( ( $location == 'pre' && !$pre_title_content_post ) ||
( $location == 'post' && $pre_title_content_post ) ) :
$pre_title_content = apply_filters( 'loop_meta_pre_title_content', '', $location, $context );
if ( !empty( $pre_title_content ) ) :
$pre_title_content_stretch = apply_filters( 'loop_meta_pre_title_content_stretch', '', $location, $context ); ?>