Duplicate title tags – Conflict between Newspaper theme and Yoast SEO Premium

Posted in: Newspaper
Post count: 32

Hello,
I’m using the Newspaper theme with a Cloud Template header (free news). Yoast SEO Premium is generating the correct <title> tag, but the theme is adding an additional <title> tag before Yoast’s output.

This results in two <title> tags in the page source, for example:

Kod
<title>Portal Polish Express – …</title> ← generated by Newspaper
<title>Portal Polish Express – …</title> ← generated by Yoast SEO

Yoast SEO Premium does not offer “Force rewrite titles” anymore.

The duplicate <title> appears before the Yoast SEO comment block, which means it is generated by the theme itself.

This causes SEO issues and breaks external audit tools.

I need to know:

Which exact function or file in the Newspaper theme generates the first <title> tag?

How can I disable the theme-generated <title> so that Yoast SEO is the only source of the title tag?

Is there an official method (hook, filter, theme option) to prevent Newspaper from outputting its own <title>?

Please provide the recommended solution or code snippet to disable the theme’s title output.

Thank you.

Post count: 32

I’m attaching a screenshot that clearly shows the exact <title> tags I’m referring to.
The issue occurs both on the homepage and on individual post pages.
I would really appreciate your help in resolving this problem.

https://postimg.cc/4mWwVV4d

Post count: 35449

Hi,
In this situation, you’ll need to edit the theme files, for example;
wp-content/plugins/td-composer/legacy/Newspaper/header.php
if tagDiv Standard Pack plugin is in used, you need to edit the
wp-content/plugins/td-standard-pack/Newspaper/header.php

Post count: 32

Thanks for your previous reply.

Before I make any direct edits to the theme files, I would like to confirm one thing with you.

Newspaper appears to generate its own <title> tag even though WordPress already handles the document title via add_theme_support( ‘title-tag’ ) and Yoast SEO also outputs its own <title>. This results in duplicate title tags.

I found that Newspaper provides a filter to disable the theme-generated title tag:

php
add_filter( ‘td_wp_booster_disable_title_tag’, ‘__return_true’ );
Can you please confirm that this is the correct and recommended way to disable the theme’s <title> output when using Yoast SEO?

This approach would allow me to avoid editing core theme files and keep the setup update‑safe.

Thanks in advance!

Post count: 35449

Hi,
Unfortunately, the mentioned filter will not remove the title. The best method to remove the title from the theme is the method I provided in the previous message.

Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.