add_theme_support('title-tag');

Posted in: Newspaper
Post count: 3

I’ve been getting seo issue warnings for have multiple tag titles on my site. Every post. I’m using Yoast and I went to functions.php and I saw that the issue seems to be that TagDiv is creating the issue.

Maybe I should say that they’re one of two situations where there can only be one option to optimize SEO practices and not the opposite.

Can I just erase this line?? It can’t stay. It’s been the most important issue from both SemRush and MOZ in audits of my site, an issue that should be fixed ASAP.

In researching it, the issue can cause serious ranking issues in Google

Post count: 21065

Hello!

Can you please provide more information about this issue? Or an example with the issue you discovered? You can comment the line and see the changes. Please let us know too.

Thank you!

Post count: 3

OK, it’s line 95 in my functions.php, I use Yoast and I have 134 multiple title tags.

I copied the code below, I want to delete one line here, add_theme_support(‘title-tag’), likely this is the issue causing everything I publish to have multiple tag titles.

Just want to make sure its OK. In looking for the solution I read multiple multiple articles that if you see this exact line that it’s the cause for the multiple tags if you use Yoast plug-in.

* Add theme support for features
*/
add_theme_support(‘title-tag’);
add_theme_support(‘post-thumbnails’);
add_theme_support(‘automatic-feed-links’);
add_theme_support(‘html5’, array(‘comment-list’, ‘comment-form’, ‘search-form’, ‘gallery’, ‘caption’));
add_theme_support(‘woocommerce’);
add_theme_support(‘bbpress’);
add_theme_support(‘align-wide’);
add_theme_support(‘align-full’);

Post count: 21065

Hello!

Try to comment that line and see the changes. Please note that this action is required after every update because it will be overwritten.

Thank you!

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