Site logo

Archived topic

SEOpress Title Tag

5 replies · Started by Steven on July 25, 2022

Viewing posts 1–6 of 6

Hey GeneratePress team,

I'm having issues with SEOpress title tags not displaying as set in the metaboxes. I reached out to the SEOpress team as well and they replied with the following:

I guess there is an issue with your theme.

If you see a notification in your SEOPress Dashboard called 'missing add_theme_support', it probably using a deprecated function to generate the title tag.

This guide will help you how to solve it:
https://www.seopress.org/support/guides/fixing-missing-add_theme_support-in-your-theme/

I've provided an example with further context below. Any help would be greatly appreciated!

I added the snippet provided to the functions.php in the child theme and it did not solve the issue.

Hi Steven,

That’s odd. If it’s working on one page, it should work for others as the template for pages are the same in GP. Can you provide a link of a page where it's working?

Moreover, can you try clearing all caching mechanisms set in your site?

Hey Fernando, here are a couple of pages where it's working.

I've been in touch with their support as well and here is their response.

Do you see if <title><?php wp_title(); ?> is present in header.php file? If yes, you have to follow our guide.

The best way is to add snippet to functions.php file of child theme.

I have tried this and did not have any luck.

Hi there,

there is no need to follow this guide:

https://www.seopress.org/support/guides/fixing-missing-add_theme_support-in-your-theme/

GeneratePress already uses the correct method:

1. See here - there is no <title><?php wp_title(); ?> in our header:

https://github.com/tomusborne/generatepress/blob/8bff7e067bb4df92ce1711fddb843585d4d18e71/header.php#L14-L18

2. And In our functions.php we declare the correct theme-support:

https://github.com/tomusborne/generatepress/blob/8bff7e067bb4df92ce1711fddb843585d4d18e71/functions.php#L33

If you can share this topic with their support then they can see that there has to be another issue.

This archived topic is closed to new replies.