Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-03-02 21:36:28

kelper
Member
Registered: 2005-05-27
Posts: 28

Different Meta Keyword and Description for each Article?

Is there anyway to change the meta keywords and description for each individual article published?

Offline

#2 2006-03-02 21:55:24

ramanan
Plugin Author
From: Toronto
Registered: 2004-03-12
Posts: 323
Website

Re: Different Meta Keyword and Description for each Article?

You could probably make meta keyword and meta desciption custom fields. You can use the if individual article tag to display the custom fields using the custome field tags, assuming you can use those tags outside of a article form template.

Last edited by ramanan (2006-03-02 21:55:37)

Offline

#3 2006-03-02 22:03:39

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Different Meta Keyword and Description for each Article?

You can’t use custom field tags outside an article form context.

But, if you turn off comment auto-append, you can make two separate calls to the article tag. One for your article itself, the other inside an if_individual_article conditional tag, inside your page’s head.

Offline

#4 2006-03-03 05:11:59

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: Different Meta Keyword and Description for each Article?

You do not have to use a custom field for keywords, <txp:meta_keywords /> is a built-in tag which uses an article’s keywords to insert a meta tag

Last edited by wet (2006-03-03 05:12:13)

Offline

Board footer

Powered by FluxBB