Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Meta Title Tag
You don't need to configure meta title tag. WordPress already has this featured! All we need to do is add theme support for
add_theme_support( 'title-tag' );
We already do that hundreds times while coding themes. And I see that WordPress does this pretty well.
By default, the title tag will have the following format:
- For homepage: Site title – Site description
- For singular pages/posts: Page/Post title – Site title
- For other pages: Page title – Site title
This format is pretty good.