We've added two new attribute flags, in addition to the many 'tag flags' already available.
Unlike Tag Flags, which wrap the output of a template variable within the declared HTML tag, attribute tags wrap the output within one of two currently supported HTML attributes.
The two supported attributes are:
These flags can be used in the following manner, within any HTML file within an Easy Eatery theme:
And would output:
We've discovered that having these kind of attribute flags prove useful when you have conditional content on a page and don't want to include HTML markup that has no purpose in that particular instance.