Global variable (date), inside of time restrict
-
Is it possible to use the global variable (date) for “on” and “off” time restrict?
variables:
[global_variable variable_name=’DISPLAYFROM’] = 11/16/2015
[global_variable variable_name=’DISPLAYTO’] = 11/23/2015[time-restrict on=”[global_variable variable_name=’DISPLAYFROM’]” off=”[global_variable variable_name=’DISPLAYTO’]“]
<h2 style=”text-align: center;”>Previous Week’s Data</h2>
[/time-restrict]Result from above:
” off=”11/23/2015″]Thank you.
https://www.ads-software.com/plugins/shortcodes-to-show-or-hide-content/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Global variable (date), inside of time restrict’ is closed to new replies.