Google Ad

Add automatically description on description meta tag on Your WordPress Website


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.

 

Step -1

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.

Copy %%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

Basic Variables

Label Variable Description
Date %%date%% Replaced with the date of the post/page
Title %%title%% Replaced with the title of the post/page
Parent title %%parent_title%% Replaced with the title of the parent page of the current page
Archive title %%archive_title%% Replaced with the normal title for an archive generated by WordPress
Site title %%sitename%% The site’s name
Tagline %%sitedesc%% The site’s tagline
Excerpt %%excerpt%% Replaced with the post/page excerpt (or auto-generated if it does not exist)
Excerpt only %%excerpt_only%% Replaced with the post/page excerpt (without auto-generation)
Tag %%tag%% Replaced with the current tag/tags
Category %%category%% Replaced with the post categories (comma separated)
Primary category %%primary_category%% Replaced with the primary category of the post/page
Category description %%category_description%% Replaced with the category description
Tag description %%tag_description%% Replaced with the tag description
Term description %%term_description%% Replaced with the term description
Term title %%term_title%% Replaced with the term name
Search phrase %%searchphrase%% Replaced with the current search phrase
Separator %%sep%% The separator defined in your theme’s wp_title() tag.

Advanced Variables

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.

Label Variable Description
Post type (singular) %%pt_single%% Replaced with the content type single label
Post type (plural) %%pt_plural%% Replaced with the content type plural label
Modified %%modified%% Replaced with the post/page modified time
ID %%id%% Replaced with the post/page ID
Name %%name%% Replaced with the post/page author’s ‘nicename’
User description %%user_description%% Replaced with the post/page author’s ‘Biographical Info’
Page number %%page%% Replaced with the current page number with context (i.e. page 2 of 4)
Pagetotal %%pagetotal%% Replaced with the current page total
Pagenumber %%pagenumber%% Replaced with the current page number
Caption %%caption%% Attachment caption
Focus keyword %%focuskw%% Replaced with the posts focus keyphrase
Term404 %%term404%% Replaced with the slug which caused the 404
<custom-field-name> (custom field) %%cf_<custom-field-name>%% Replaced with a posts custom field value. Remove the <>
<custom-tax-name> (custom taxonomy) %%ct_<custom-tax-name>%% Replaced with a posts custom taxonomies, comma separated. Remove the <>
<custom-tax-name> description (custom taxonomy) %%ct_desc_<custom-tax-name>%% Replaced with a custom taxonomies description. Remove the <>

 

Done…

 

If you have any issue then comment below here.

 

Have any Question or Comment?

Leave a Reply

Your email address will not be published. Required fields are marked *