Function:

mp_core_page_title()

Purpose:

This template tag displays the title of the page whether it is an archive, category, tag, page, post, custom post type, search page, or anything.

Overview:

This function will detect what type of title needs to be shown and show it.

Usage:

function_exists ( 'mp_core_page_title' ) ? mp_core_page_title() : _e( 'Archives', 'text_domain' ); 

Parameters:

none

Returns:
Void.