- This topic has 7 replies, 3 voices, and was last updated 1 year, 9 months ago by Tom.
September 25, 2020 at 7:10 am #1458452Helen
We have just swapped from using Yoast SEO to WPSSO with schema mark-up.
All the meta from WPSSO is now showing on page but a <title> tag has appeared in the Header which was not there when yoast was installed.
It is made up of the page title and the company name. Is this a default in your theme? If so how can we remove that please?September 25, 2020 at 7:42 am #1458496DavidStaffCustomer Support
try adding this PHP Snippet:
remove_action( 'wp_head', '_wp_render_title_tag', 1 );September 25, 2020 at 7:52 am #1458654Helen
Thank you so much for that.
The pages are now showing just the URL in the browser tab, rather than the specified <title> tag from the SEO meta on the page.
Have you guys worked with WPSSO schema mark-up plugin before? I am not sure how we get their title to take priority on the page.
HelenSeptember 25, 2020 at 7:57 am #1458662DavidStaffCustomer Support
Not sure if anything has changed by this topic says they do not alter or add the <title> tag
GP is using the core WP function to output it – so i am sure they should be able to assist with modifying that.September 25, 2020 at 8:05 am #1458679Helen
Is it then possible to ask the theme to look at their ‘default title’ and use that as the title tag?
Would that solve the problem and what code do I need to add to the header.php?
HSeptember 25, 2020 at 1:00 pm #1459092DavidStaffCustomer Support
GP uses the core WP function for displaying the Title tag.
It can be changed using this filter:
WPSSO would need to provide the code required to get their title for that filter to be used.
If you can ask them what that is we can help with the filter.September 26, 2020 at 9:58 am #1460155Helen
Does your theme support the ‘title-tag’ feature of WordPress 4.4+?
Finding a work around and may have found a solution.
HelenSeptember 26, 2020 at 1:30 pm #1460294
- You must be logged in to reply to this topic.