Thanks so much! That fixed it 🙂
Hmm, so the code I provided works when I’m viewing that taxonomy archive (i.e. http://www.example.com/speakers/) but when I view a post type archive (i.e. http://www.example.com/category/) it doesn’t work.
I do have the Field Group set to show when that Taxonomy is set to Speakers… so how do I get them to display the values on other category/archive pages?
Thanks for the reply! I tried that solution but it ended up changing my h1 title as well.
In case anyone was wondering, I got this working by adding the following code to my functions.php
add_filter('document_title_parts', 'replace_page_title', 10);
function replace_page_title($title) {
if( get_field('meta_title')) {
$title['title'] = get_field('meta_title');
}
return $title;
}