How to Add auto description on description meta tag on Your WordPress Website.
If you want add automatically description from site’s body to post page ?
Then, follow it.
Follow the tutorial.
Download Yoast Seo Plugin
To your computer.
Step – 2
Login to you wordpress site.
Go to yourwebsite.com/wp-login.php
Step – 3
After logging in Your WordPress site.
Click on Plugin + Add New from Left side.
Step – 4
Now, Click on Upload Plugin
Step – 5
Now, Browse Downloaded Yoast Seo Plugin from your computer, Where you download Plugin According to Step – 1 Above.
Step – 6
Now, Click on Active Plugin
Step – 7
If you have already install Yoast Plugin then Go to your admincp and Click on SEO – Search Appearance – Content Type from Left Slide Menu.
%%excerpt%% this code and past to Meta description template:
Thus you can add automatically title, description, category, tag, date etc.. text on your html meta tag.
All Meta Codes
||Replaced with the date of the post/page|
||Replaced with the title of the post/page|
||Replaced with the title of the parent page of the current page|
||Replaced with the normal title for an archive generated by WordPress|
||The site’s name|
||The site’s tagline|
||Replaced with the post/page excerpt (or auto-generated if it does not exist)|
||Replaced with the post/page excerpt (without auto-generation)|
||Replaced with the current tag/tags|
||Replaced with the post categories (comma separated)|
||Replaced with the primary category of the post/page|
||Replaced with the category description|
||Replaced with the tag description|
||Replaced with the term description|
||Replaced with the term name|
||Replaced with the current search phrase|
||The separator defined in your theme’s wp_title() tag.|
The following sample of variables requires a better understanding of SEO. If you’re unsure about how to correctly use this, don’t. Or you can purchase an online training course at Yoast.
|Post type (singular)||
||Replaced with the content type single label|
|Post type (plural)||
||Replaced with the content type plural label|
||Replaced with the post/page modified time|
||Replaced with the post/page ID|
||Replaced with the post/page author’s ‘nicename’|
||Replaced with the post/page author’s ‘Biographical Info’|
||Replaced with the current page number with context (i.e. page 2 of 4)|
||Replaced with the current page total|
||Replaced with the current page number|
||Replaced with the posts focus keyphrase|
||Replaced with the slug which caused the 404|
|<custom-field-name> (custom field)||
||Replaced with a posts custom field value. Remove the <>|
|<custom-tax-name> (custom taxonomy)||
||Replaced with a posts custom taxonomies, comma separated. Remove the <>|
|<custom-tax-name> description (custom taxonomy)||
||Replaced with a custom taxonomies description. Remove the <>|
If you have any issue then comment below here.