Why the title call in header.php?

Posted in: Newspaper
Post count: 8

I’m having problems using plugins like AIO SEO, YOAST or SEO press for custom titles and the basis of the problem is that the title call is made from header.php and not from fuctions by calling add_theme_support( ‘title-tag’);

It should be done every time it is updated and it would be better to call from fuctions as recommended by wordpress and the support of the plugins I mentioned above.

regards

Post count: 20688

Hi,

You are referring to the title tag in the header
https://www.screencast.com/t/XhlEniaQpEqD
The wp_title can be used according to WordPress, it was reinstated
https://make.wordpress.org/core/2015/10/20/document-title-in-4-4/
WordPress did not change the wp_title implementation requirement. If it will get deprecated or there will be modifications made in the future, we will definitely change the implementation accordingly.

Thanks

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.