Hey Support Team,
i tried to find a solution by myself, but after hours of trying I’m pretty frustrated.
I am trying to remove the title displayed in the browser tab. It currently shows Page Title | Company Name on all pages and I’m fine with that. As an exception I’d like to change my landing page to Company Name only.
Simply removing the page title in wordpress results in | Company Name, this isn’t the solution.
I’m using the latest wordpress version 4.7 and Enfold 3.8.4.
My website: http://www.black-label-stuttgart.de
Thanks for your help!
Marcel
Hey Marcel!
Please add following code to functions.php file in Appearance > Editor
add_filter('avf_title_tag','avia_new_title');
function avia_new_title() {
if(is_page(5)){
$title = get_bloginfo('name');
}
return $title;
}
You can also use a plugin such as Yoast to have more control over your page titles.
Regards,
Yigit
Hey Yigit,
thanks for the quick reply! I tried Yoast and also Hide Title and Toggle The Title, but nothing seems to work for me. Even your code above doesn’t change anything.
Is it – somehow – possible to change the html code of the page? It works perfectly if i edit the page in the Google Chrome DevTools (F12)…
Marcel
Hey Yigit,
finally I found a solution. It seems pretty common to edit the SEO title tag and meta description. This worked for me with the plugin SEO Ultimate.
So for everyone who has a similar problem – this is the solution. My front page is now title-free.
http://www.black-label-stuttgart.de
Regards
Marcel