Tagged: page title, title bar
I would like to show custom text in the title bar instead of the page title. I know many themes provide that option. Is there a way to do that in Enfold?
Thank you kindly.
Jack Jackson
Hey Jack!
Thank you for using Enfold.
There is no option for changing the page title but you can add this on functions.php to replace the current page title with something else:
add_filter('avf_title_args', 'change_page_title', 10, 2);
function change_page_title($args,$id)
{
if ( is_page('Page Title') )
{
$args['title'] = 'New Page Title';
}
return $args;
}
Cheers!
Ismael