As 2014 draws to a close, my writing desk in the northern hemisphere is getting more attention. The daylight hours are shorter and I spend more time at my computer because of this. With that in mind, I’m embarking on a project to tell you more about Textpattern CMS tags. Tags in instructions to Textpattern to do certain stuff. I covered some high-level stuff associated with tags back in January 2014, which you can (re-)read at your convenience:
- Understanding and Using Textpattern CMS Tags: Global Tags
- Article Tags in Textpattern CMS: A Primer
- Using Conditional Tags in Textpattern CMS
- Comparing Single and Container Tags
- Tag Nesting in Textpattern: A Beginner’s Guide
To get the most of this tutorial series, which will take place from January 2015 to June 2015, and possibly extend further if the feedback is good, I recommend reading the above articles first. The aim of the articles listed above is to provide a broad overview of the fundamentals. What I wrote nearly a year ago is still valid and holds true; the method of using Textpattern tags hasn’t changed in that time, although the list of tags and their respective attributes is gradually increasing.
Throughout this series, I will be covering Textpattern tags and their attributes. You are not expected to commit all these to memory. To aid your understanding and learning, I’ve made an at-a-glance table of all the Textpattern tags and their current attributes in a Google Sheet here:
I would reproduce it here, but frankly it’s massive and would be too cramped to be usable. In the event of a new Textpattern release with additional or modified tags/attributes, that table will be updated. With that in mind, you can safely add it to your bookmarks if you intend to become more familiar with the Textpattern’s tagging syntax.
There are 160+ tags, each with their own set of attributes, and each one of my upcoming articles will cover one or more tag from the list, along with some or all of the attributes. I won’t be explaining each facet of every single tag; if you have any questions or queries about anything I’ve written, or wish to select a tag for an upcoming article later in the series, leave something in the comments and we’ll figure something out. If you’re keen to find out more and don’t want to wait for a reply from me, you should also refer to the Textpattern tag reference on the Textpattern documentation wiki.
Each article will include practical examples of how you can use the tag and its attribute(s) on your Textpattern instance, as well as tips and advisories to get the most benefit from it. Each Textpattern site is different, but many of the tags can benefit you directly. Finally, to whet your appetite for January 2015, here’s what I have planned:
- txp:category1 & txp:category2
- txp:posted, txp:modified & txp:expires
January 2015 is all about article tags, which will help you make the most of your written words. I do hope you can join me.