| 开发者 | luzidmedia |
|---|---|
| 更新时间 | 2026年3月6日 22:35 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
luzid-cs-<slug> to the element. The plugin adds body classes and a tiny frontend helper so the block is only displayed while the schedule is active./wp-content/plugins/ or install via the WordPress Plugins screen.luzid-cs-<slug> to your frontend block.They are combined with OR-logic: if any rule matches, the scheduler is considered active (unless an exception matches).
Exceptions affect everything (frontend visibility, next event calculation, and preview). If "now" is inside an exception range, the block stays hidden.
Event Classes replaced the old Event Offset feature in version 1.4. The key difference: you can now create multiple classes with independent offsets, allowing different content to appear at different times before/after an event.
Each Event Class generates a separate CSS class. You can only apply one class per block, but you can have multiple blocks, each with a different Event Class.
No. It works with any theme/page builder that lets you set a custom CSS class on a block/element.
Yes! Use [luzid_cs slug="your-slug" time="raw"] to output only the time. Leave out the date parameter.
Use sep2="<br>": [luzid_cs slug="event" date="long" text="true" sep2="<br>"]
luzid-cs-<slug>-<classname>).date parameter defaults to empty (not "long"). Only when neither date nor time is set, date="long" is used as fallback.time="raw" now correctly outputs only the time, not date + time. now outputs exactly one non-breaking space.sep1=" ", now uses default fallback.sep replaced by sep1, sep2, sep3 for precise control.sep1 controls separator between date and time.sep2 controls separator between time and text (or date and text if no time).sep3 controls separator between list items.time parameter now defaults to empty (no time output unless explicitly requested).sep parameter removed. Use sep1/sep2/sep3 instead.[luzid_cs_eventtable] shortcode for tabular event output.[lz-cs] to [luzid_cs] for WordPress.org compliance.lz-cs-* to luzid-cs-*.<span> to <div> for better HTML structure.sep parameter can output <br> for line breaks.list, count, text and sep parameters.