Do not add meta tags in post editor. Best way to do is use SEO plugins.
Best plugin for SEO is Yoast Seo
Or add this code in your themes header.php
just after title tag.
<meta name="description" content="<?php if ( is_single() ) {
single_post_title('', true);
} else {
bloginfo('name'); echo " - "; bloginfo('description');
}
?>" />
Related Posts:
- How to allow YouTube object embed in WordPress 3+?
- Adding to the WYSIWYG
- Add html plugin into wordpress
- Open source social media icons to download and use on website? [closed]
- What’s the difference between ” ” and ” “?
- Line break in HTML with ‘\n’
- Adding a favicon to a static HTML page
- See answer keys in Google Form (quiz) source page?
- CSS Background Opacity [duplicate]
- How to create an HTML button that acts like a link
- count(): Parameter must be an array or an object that implements Countable error in php
- Why does z-index not work?
- Failed to load resource: the server responded with a status of 404 (Not Found) css
- What does do?
- Set cookie and get cookie with JavaScript
- How do I make a hyperlink to a local executable?
- How to align iframe always in the center
- How do I auto-resize an image to fit a ‘div’ container?
- CSS `height: calc(100vh);` Vs `height: 100vh;`
- Custom Tumblr theme wont save because of non-https urls?
- Double click and run the Php script on mac
- CSS no text wrap
- How to wrap text around an image using HTML/CSS
- mailto using javascript
- Bootstrap 4 Sticky Footer Not Sticking
- How to change css property using javascript
- html tables: thead vs th
- What is “X-Content-Type-Options=nosniff”?
- Rotate an image in image source in html
- Strange symbol shows up on website (L SEP)?
- How can I make a CSS glass/blur effect work for an overlay?
- Maintain the aspect ratio of a div with CSS
- Bootstrap dropdown not working
- What is the difference between id and class in CSS, and when should I use them?
- When to use instead
?
- jQuery.addClass not working
- How to call a PHP function on the click of a button
- what’s the easiest way to put space between 2 side-by-side buttons in asp.net
- Calculate percentage Javascript
- Vertically centering a div inside another div
- How to move image with css/html
- How to style the option of an html “select” element?
- HTML: How to center align a form
- How to mark-up phone numbers?
- CSS pick a random color from array
- Adding background image to div using CSS
- Center a DIV horizontally and vertically
- how to overwrite css style
- How can I move this text up using CSS?
- Multiple Forms or Multiple Submits in a Page?
- Target a css class inside another css class
- Mailto on submit button
- CSS float right not working correctly
- How can I vertically align elements in a div?
- How to give spacing between buttons using bootstrap
- Space between two rows in a table?
- What is the difference between
and ?- Make a div fill the height of the remaining screen space
- html5 error : Element head is missing a required instance of child element title
- Add image in title bar
- HTML input – name vs. id
- How to add image that is on my computer to a site in css or html?
- How to use PHP inside css file
- jQuery checkbox event handling
- Setting a max character length in CSS
- How to use the “required” attribute with a “radio” input field
- Local Storage vs Cookies
- Redirect website after specified amount of time
- External CSS not working
- How to exclude particular class name in CSS selector?
- How to scroll to top of a div using jQuery?
- HTML/CSS–Creating a banner/header
- Change hover color on a button with Bootstrap customization
- Alternate table row color using CSS?
- Is there a float input type in HTML5?
- Is there a vr (vertical rule) in html?
- How to view an HTML file in the browser with Visual Studio Code
- How to create a hidden in JavaScript?
- CSS “and” selector – Can I select elements that have multiple classes?
- How do I programmatically set the value of a select box element using JavaScript?
- Accessing WordPress data via JSON gives HTML data for certain keys
- How to prevent pages from automatically adding line breaks?
- How to add a button that enables the user to insert a link in a textarea located in the front-end?
- Firefox CSS Animations Broke [closed]
- Inline style HTML attribute is being stripped from all elements of a post
- Unfamiliar HTML Properties in Avada and Divi Themes [closed]
- #text at the begging of every page, before the main content block
- Phantom strong tags in wordpress
- Convert bookmarks.html file into WP posts
- With wp_list_category put every existing category into an option tag
- Removing Unused WP SEO Codes display on html page [duplicate]
- Programming WordPress to send a custom-built form to specified email address
- Where do I have to put an image in order to use in a Custom HTML img?
- WordPress/Server outputting strange result
- hatom-feed entry-title error in the rich snippets tool
- Is it possible to read the ID of a post and then insert it into the html of the post?
- image overlay on image not working in wordpress, but works in “normal html editors”
- How could i open two url with one hyperlink click [closed]
- How to play a video after the end of another one via link?
- Moving from Microsoft Front Page 2003 to WordPress