Hi guys,
I’m hoping you can help me.
I want to add a link within the breadcrumb section in the h1.entry-title but I can’t seem to overwrite the parent function. Here is the parent function within the tdframework folder in theme-functions.php:
// Outputs the page title and breadcrumbs before a template page
//
function core_theme_page_title() {
if ( ! class_exists( 'ReduxFramework' ) ) {
$titles_on = array( 'archive' => true, 'page' => true, 'post' => true );
} else {
$titles_on = tdf_option_get( 'general-titles-on' );
}
if ( is_archive() && ! $titles_on['archive'] ) {
return;
}
if ( is_page() && ! $titles_on['page'] ) {
return;
}
if ( is_single() && ! $titles_on['post'] ) {
return;
}
if ( !is_home() && !is_front_page() ) {
global $post;
echo '<header class="entry-header">';
do_action( 'page_title_hook' );
echo '</header><!-- .entry-header -->';
}
}
I just want to add in an a href tag within the header.
Thanks,
Al.