Add conditional display
-
I love your include me plugin.
But I would like to suggest an extension that allows hide/display based upon a TAG string.
In my case I would have a tag NOSTOCK and a html include file that explains that the item is not on stock.
So the short-code could be like this:
[includeme iftag=”NOSTOCK” file=”filename”]
It would show the file if NOSTOCK was set.
And possibly als o the reverse:
[includeme ifnottag=”ONSTOCK” file=”filename”]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Add conditional display’ is closed to new replies.