Title is not good for my homepage

Posted in: Newspaper
Post count: 56

Hello,

I have a problem I use the seopress plugin and I added in the functions.php a code to force the title of the Seopress plugin but since the last version unfortunately I never have the right title and here is the source code of the page we see the right title below but the title at the top is not the right one. How to delete the title of the theme and keep only the one of seopress?

<head>
<title>Lebaladin</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="pingback" href="https://www.lebaladin.fr/xmlrpc.php" />
<link rel="icon" type="image/png" href="https://www.lebaladin.fr/wp-content/uploads/2018/08/baladin-e1567150788666.png"><meta name="dc.title" content="Conseils, astuces pour voyager pas cher - Lebaladin Voyage " />
<meta name="dc.relation" content="https://www.lebaladin.fr/" />
<meta name="dc.source" content="https://www.lebaladin.fr/" />
<meta name="dc.language" content="fr_FR" />
<link rel="canonical" href="https://www.lebaladin.fr/" />
<script type="application/ld+json">{
"@context": "https://schema.org",
"@type": "WebSite",
"url" : "https:\/\/www.lebaladin.fr",
"potentialAction": {
"@type": "SearchAction",
"target": "https:\/\/www.lebaladin.fr\/?s={search_term_string}",
"query-input": "required name=search_term_string"
}
}</script>
<meta property="og:url" content="https://www.lebaladin.fr/" />
<meta property="og:site_name" content="Lebaladin" />
<meta property="og:locale" content="fr_FR" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Conseils, astuces pour voyager pas cher - Lebaladin Voyage " />

Post count: 18283

Hello !

Unfortunately we cannot offer support for untested plugins. Seopress plugin is an untested plugin and we cannot help you with it due to support policy: https://forum.tagdiv.com/newspaper-theme-support/

You can see the list of supported plugins here: https://www.screencast.com/t/c6QjeH1K

Thank you !

Post count: 56

Thank you for your feedback,

I was able to see with the Seopress developer who was analyzed a little bit how it worked.

He found the culprit:

It is the tagDiv Composer plugin that interferes.

By temporarily disabling it this worked normally.

Is there any way to disable this via a hook for example?

Thank you,

Post count: 18283

Hello !

Unfortunately deactivating tagDiv Composer is not an option. This is a MUST have option in order to benefit from Newspaper’s theme fully functionalities.

We are sorry for the inconvenience !

Thank you !

Post count: 56

I understand very well, finally at the moment I can no longer use it it it does not work at home and your support has no solution to bring me.

But apart from that, the Seopress plugin is starting to download more and more and it’s a shame that there is a title bug only on the homepage and there’s nothing we can do about it.

Above all there is also another problem the title taken into account on my page comes from where?

Because the H1 of my page is not the Title taken into account for the homepage.

If I understand correctly there is no possible hook to be able to have a custom title on the homepage of a site using tagDiv Composer?

If at least I can know or modify the title taken into account on the homepage to have a title consistent with my site.

Thank you to you,

Translated with http://www.DeepL.com/Translator

Post count: 18283

Hello !

Unfortunately through support we cannot offer custom work. We do however recommend using Seo Yoast.

We now can offer custom work in order to implement your customization. You can submit a request here in order to receive a quotation: https://tagdiv.com/premium-customization-services/ Please make your request as explicit as it gets so we can have a better ideea of what are you trying to achieve.

Thank you !

Post count: 56

Perfect thanks !

Post count: 6

@dreammy or @vlad

Was this ever resolved? I think I’m facing the same exact problem.

It seems like i’ll probably need to use a child theme to patch over whatever causes this to happen

Post count: 6

I figured out how to fix this on my own after doing some testing with the code.

This fix will break every time you update the tagdiv composer or the tagdiv standard pack plugins, so be sure to re-apply it in those cases.

I hope the theme developers can address this problem because it seems like a very simple change to support SEOpress properly

————————————————————

2 changes:

First:
Why? — the tagdiv standard pack outputs an unnecesasry <title> tag which causes your site to show two title tags

Edit this file:
wp-content/plugins/td-standard-pack/Newspaper/header.php

Delete the line that looks like this:
<title><?php wp_title(‘|’, true, ‘right’); ?></title>

Second:
Why? — removing theme support for the ‘title-tag’ prevents SEO Press from feeding your title tag to intended system for wordpress to support this.

Edit this file:
wp-content/plugins/td-composer/legacy/common/wp_booster/td_wp_booster_functions.php

Edit this section:
remove_theme_support( ‘title-tag’ );

To this:
// 1-12-20 Hayk commenting out this line so that SEO Press can work properly
// remove_theme_support( ‘title-tag’ );

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