Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Meta Tag question

Quote Reply
Meta Tag question
From withing Administration, when you modify a category, there is one field called "Meta Keywords:"

I have inserted 5 or 6 keywords into this field. What/How is the proper call i should now place into this categories template file to call and print the keywords into the pages meta tag information?

(Im assuming this is how its done, and why that field exists in administration)..

Thanks..

Quote Reply
Re: Meta Tag question In reply to
You should have the following codes in your category.html file:

Code:
<%if meta_name%>
<meta name="description" content="<%meta_name%>">
<%endif%>
<if meta_keywords%>
<meta name="keywords" content="<%meta_keywords%>">
<%endif%>

If not, put these codes between the <head> and </head> anchors in the category.html file.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums