Adding keywords meta

There are several ways to add page or article specific meta tag keywords, this method uses a custom field to store your keywords.

Name your custom field

In your Admin tab, go to Preferences > Advanced and name one of the unused custom fields as Meta_Keywords.

Add some code to your head tag

<txp:if_custom_field name="Meta_Keywords">
<meta name="keywords" content="<txp:custom_field name="Meta_Keywords" />" />
</txp:if_custom_field>

Add the above code to your <head> tag in your page template. Once you have done this, you can enter specific keywords in your articles. In the Write tab, click on Advanced Options and enter your keywords in the Meta_Keywords field.

comments powered by Disqus