The title tag actually controlled by the theme. There’s a WordPress filter you can use to override what the Divi theme does though. Here’s a link to some example code:
add_filter('pre_get_document_title', 'ee_events_archive_titles');
function ee_events_archive_titles() {
if ( is_post_type_archive( 'espresso_events' ) ) {
return 'welp! this is the title | my awesome website';
}
}
You can add the above to a functions plugin or into your WordPress theme’s functions.php file.
Viewing 3 reply threads
The support post ‘How to change Events archive page title (html head)’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.