Skip to content

Fix wp_title in base.twig #284

@JakubSzajna

Description

@JakubSzajna

I've encountered the problem that in example Yoast SEO plugin overwrites page title via hook, so writing {{ wp_title }} - {{ site.name }} or just {{ site.name }} can be problematic, as you cannot predict what settings does user have and if it does not duplicate the site name in example.

And I believe the plugin is even printing site title and site description via wp_head action, so not only the content is duplicated, but the whole <title> occurs two times.

Maybe we should somehow warn developers of that behaviour?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions