Disable filter and controls?
-
On my welcome page i use a shortcode for displaying the shift of the present day*. Is it possible to add a shortcode to hide the calendar controls?
I hide it temporary with simple CSS (see below) but would like a shortcode option instead.
Example
control=”off”
control=”place”
control=”user”* [shiftcontroller route=”list” by=”location” range=”0 day”]
(Replace the .page-id-00 with your page’s id.)
.page-id-00 .hc-no-print { display: none; } .page-id-00 li.hc-text-smaller { display: none; } .page-id-00 .hc-row ul.hc-list-inline.hc-list-separated { display: none; } .page-id-00 #nts .hc-flatmodal-parent { margin-top: -50px; }
And for a neater view for this page:
.page-id-00 #nts .hc-label-lg { font-size: 50%; line-height: 1em; }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Disable filter and controls?’ is closed to new replies.