Remove Default Title Tag and and custom

Posted in: Newspaper
Post count: 54

Hi Team, I am using newspaper theme and I am trying to find the default <title></title> tag to remove it. I put the my custom <Title> tag and showing 2. Can you please help with finding the default <Title> tag and remove it.

dtechted.com website

Thank you

  • This topic was modified 2 years by dtechted.
  • This topic was modified 2 years by dtechted.
Post count: 21065

Hello!

The titles are here: https://prnt.sc/JwKc38q1Ls3s -> https://prnt.sc/JfgMJ30ZH8Kj
Check in your SEO plugin about these titles.

Thank you!

Post count: 54

I want to remove the default tag of the theme. In header.php icant find it. Can you please tell me in which .php i can find the <head> tag section to edit

Post count: 21065

Hello!

The path is: wp-content/plugins/td-composer/legacy/Newspaper/header.php

Thank you!

Post count: 54

OK thank you it helped but it solves only page title tag can you please tell me about the post tags. Like on my blog post it still remains same and on my page it works. where can i edit .php file for post section.

(Edit: I refreshed after some time check again that didnt solved still showing 2 tiles)

Thank you

  • This reply was modified 2 years by dtechted.
Post count: 21065

Hello!

I told you to check in your SEO plugin and delete the second title.
Please check this thread: https://forum.tagdiv.com/topic/copy-excerpt-content-into-themes-subtitle-field/

Thank you!

Post count: 54

I understand what you want to say.

Let me explain it correctly.
1. All is good in title and meta section ok
2. Then I install the SEO Press plugin for SEO of my website.
3. Then I use the plugin for Title and description nad post and pages.
4. Then I see The title is deferentthan what I put in my SEO Plugin.
5. Then I google and see the solution that says remove the default theme title from header.php and put a code in function.php which they provided.

(And if you see my dtechted.com homepage and other pages also. The og:title is showing what I put in SEOplugin Title section not the theme’s default generated.)

If you understand please tell me

Thank you

Post count: 21065

Hello!

Disable the SEO plugin and see if the problem is still there.
If the problem is still there, then we can take a look and check the issue. The login data can be provided via email at contact@tagdiv.com.

Thank you!

Post count: 54

function seopress_theme_slug_setup() {
add_theme_support( 'title-tag' );
}
add_action( 'after_setup_theme', 'seopress_theme_slug_setup' );

this is the I added in the functions.php

This is the link from where I followed the rule> :- https://www.seopress.org/support/guides/fixing-missing-add_theme_support-in-your-theme/

And its good for me because I want to show the title what I am putting in plugin Title section. not the default from the theme is picking title from <h1> tag.

I want my custom title tag.

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