Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2020-11-25 13:49:54
- pexman
- Member
- Registered: 2016-02-27
- Posts: 63
article meta description
In the admin panel you can give a different meta description for every article. If I fill out this form I thought it would be have an output in the meta description of the website source code to guide the search engines. Unfortunately it dosn`t do that. It displayed always the description I`ve entered in the template. What is to do that I can use this feature?
Offline
Re: article meta description
Hi
You need to use txp:meta_description tag into your template using this code :
<txp:if_individual_article>
<txp:meta_description format="" />
</txp:if_individual_article>
Look at the documentation : https://docs.textpattern.com/tags/meta_description
Cheers.
Offline
#3 2020-11-25 16:35:02
- pexman
- Member
- Registered: 2016-02-27
- Posts: 63
Re: article meta description
Thank you very much. With keywords it is similar. I could have guessed that there would be a tag for it.
Offline
Re: article meta description
I think that txp:meta_description
is context-gnostic and txp:if_individual_article
is not needed as the meta-description
tag calls the relevant fields in sections and categories.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Pages: 1