Meta Descriptions
-
Hello, everyone. This shouldn’t be difficult, but I can’t figure it out. By default, WordPress doesn’t add any meta description tags. They have to be added manually, or by using a plugin.
I’ve tried adding this to my header:
<meta name="description" content="My meta description for my website" />
…but that’s not correct because it’ll add that to ALL pages and posts.
Does someone know of a query I can use inside the header that allows me to use my main site description for only the homepage and uses the title of the post, for posts?
I don’t want a plugin for this.
- The topic ‘Meta Descriptions’ is closed to new replies.