Textpattern tips, tutorials and code snippets

8 results for: keywords

  • Adding keywords meta

    …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 … 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" … name="Meta_Keywords" />" /> …

  • Dynamic meta tags

    …we attempt to dynamically populate our meta tags keywords and description according to the different cases … chose to use an article to store the default meta keywords and description but you can change this way with … ID number 1 for this purpose and to store the keywords into the excerpt (a comma separated list of non … $prefs['locale']); $keyword = trim(keywords(array())); $text = preg_replace('/\s+/', … echo( ($keyword ? '<meta name="keywords" lang="<txp:lang />" …

  • Page dependent header meta description

    …Textpattern article – The standard TXP keywords for that article (optional: custom field) If … Textpattern article list – some pre-defined keywords If Textpattern search result – some … pre-defined keywords Some pre-defined trailing text An option to cut … leading text: <txp:title /> - <txp:keywords /> - Some pre-defined trailing text"> … Textpattern tags <txp:title> and <txp:keywords> are not allowed in the page header. If you …

  • Header titles optimize AdSense output

    …– site name”. That brings the good keywords to the front and still the branding of the site … Navigation with Tag Clouds … talking about keywords, tag clouds and tagging Trick: Textpattern with … I installed a plugin for Textpattern to display keywords, keyword lists and keywords as tag cloud. If you … for related tags which simply lists all found keywords from the found articles except the one keyword …

  • RSS feeds for tags

    …break=""> <txp:if_keywords keywords='<txp:variable name="tag" … </item> </txp:if_keywords> </txp:article_custom> </channel> … you can tune In this example, tags are stored as keywords. If you want to use a custom field, replace the … <txp:if_keywords> ... </txp:if_keywords> pair with <txp:if_custom_field …