' . get_search_query() . '' ) );
} elseif ( class_exists( 'WooCommerce' ) && is_shop() ) {
$title = woocommerce_page_title( false );
} elseif ( is_archive() ) {
$title = get_the_archive_title();
}
}
// This will work same as `get_the_title` function but with Custom Title if exits.
if ( $echo ) {
echo wp_kses( $title, analytica_get_allowed_tags() );
} else {
return $title;
}
}
/**
* Prints HTML with meta information for the categories, tags and comments.
*/
function analytica_entry_footer() {
if ( ! is_single() && ! post_password_required() && ( comments_open() || get_comments_number() ) ) {
/**
* Get default strings.
*
* @see analytica_default_strings
*/
echo '';
}
analytica_edit_post_link(
sprintf(
/* translators: %s: Name of current post */
esc_html__( 'Edit %s', 'analytica' ),
the_title( '"', '"', false )
),
'',
''
);
}