Escaping values in shortcodes
-
Excellent plug-in by the way.
I have been trying to create a list of future events using a shortcode along the lines:
[pissc orderby="meta_value" mq_key_aa="date" mq_value_aa ="now" mq_compare_aa =">" mq_type_aa = "DATETIME"]
This works correctly if it is surrounded by
...
, but it is poorly formatted.
If not preformatted, it gives only posts with the date=now, presumably because “>” is misinterpreted. How should the “>” be escaped so it works without preformatting?
Viewing 12 replies - 1 through 12 (of 12 total)
Viewing 12 replies - 1 through 12 (of 12 total)
- The topic ‘Escaping values in shortcodes’ is closed to new replies.