mem_if_today

Category: Projects

Posted:

This tag will conditionally parse and display the enclosed text data if today is or isnot one of the specified days.

Download

file: mem_if_today.txt [4.89kB]
Category: Textpattern
download: 752

Textpattern plugins can be downloaded from Bitbucket

Documentation

Attributes

Name Description Default Value
is This is a comma separated list of names to test today against. A name can be a weekday (should be locale friendly), “weekday” (M-F), “weekend” (Sa-Su), or a month. none
isnot Functions the same as the “is” attribute, but the enclosed text will be parsed if today does not match any of the days. none
wraptag The html tag that will wrap the output value none
class The CSS class that will be applied to the “wraptag” mem_if_today
blog comments powered by Disqus