so are you designing a theme?
Yes, I am designing my own theme. But basic WordPress templates work the same way.
There is no longer a <title></title>
tag in header.php. Instead, functions.php has an add_theme_support ('title-tag');
.
If I remove this and write the title tag back to header.php, it will display the user’s name in the title bar.
View post on imgur.com
View post on imgur.com
so does twenty nineteen work ?
Does not work. If the template uses add_theme_support (‘title-tag’), the profile name will not appear in the title bar.
thanks – I’ll take a look when I get a moment
ok, so I just tried 2019 on my test site, and I get the user name on the title bar, with just bbpress as the only plugin.
looks like bbp_title is not working for users.
the code is called by a filter in
\bbpress\includes\core\filters.php
which is
Line 43: add_filter( 'wp_title', 'bbp_title', 10, 3 );
the function bbp_title is held in
\bbpress\includes\common\template.php
and the function starts at line 2578.
I may get a chance to look further tomorrow (or maybe not!), but if you fancy having a look. The function has a filter at the end, so if you can work out what’s wrong, should be easy to add a fix
sorry, tied up in paid work at the moment