Skip Navigation

[Résolu] Title Tag in Toolset Starter Theme

Ce fil est résolu. Voici une description du problème et la solution proposée.

Problem:
Why does the Toolset Starter Theme nothave a title Tag in it's header?

Solution:
Because it uses

add_theme_support( "title-tag" );

Relevant Documentation:
https://developer.wordpress.org/reference/functions/add_theme_support/
https://codex.wordpress.org/Title_Tag
http://bravokeyl.com/exploring-title-tag-theme-feature/

This support ticket is created Il y a 7 années et 9 mois. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 4 réponses, has 2 voix.

Last updated by julieP Il y a 7 années et 9 mois.

Assisted by: Beda.

Auteur
Publications
#418938

Can you tell me please where I find the code that controls the content between <title></title> between the <head></head> tags?

I would expect to see this in header.php but nothing is there.

Thanks

#419059

add_theme_support( "title-tag" );

This is the answer to the magic here 🙂

WordPress Themes can now use Theme Support for the Title Tag, which means we do not need to hard code it anymore.
https://developer.wordpress.org/reference/functions/add_theme_support/
https://codex.wordpress.org/Title_Tag
hidden link

In Toolset Starter Theme this is added in functions.php on line 80.

#419103

but what do I need to do (and where) to change the format please?

#419202

I've been doing some searching online and I've found the necessary filter command to use in functions.php to change how my title tag appears so I don't need any further assistance. Thank you.

#419203

topic closed

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.