| 开发者 | stphnwlkr |
|---|---|
| 更新时间 | 2026年10月19日 22:40 |
| PHP版本: | 8.3 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
Create a schedule with your opening and closing entries and assign it to all five weekdays. Assign a different schedule to Saturday and Sunday. Use Customize this day to copy a shared schedule for one day.
Mark an entry as Opening. Use {opening_countdown} in an earlier message. {countdown} instead counts to the very next time entry.
For a weekly layout, enable Query Loop on an inner Div or Block and choose Uplink Weekly Schedule. Add child elements with {ulhgr_day} and {ulhgr_hours}; {ulhgr_state}, {ulhgr_key}, and {ulhgr_today} are also available inside the loop. To load upcoming events, choose Uplink Special Dates and use {ulhgr_event_date_label}, {ulhgr_event_title}, {ulhgr_event_message}, {ulhgr_event_hours}, {ulhgr_event_link_url}, and {ulhgr_event_link_label}. The direct {ulhgr_special_label} tag only describes a special-date override active today, so it is empty on a regular date. For one upcoming event without a loop, use {ulhgr_next_special_label} with the other next_special tags listed in the How to Use tab. The Bricks picker groups tags by Direct, Weekly Schedule Loop, and Special Dates Loop. A Shortcode element with [uplink_hours_greetings display="schedule"] provides ready-made semantic schedule output. For a set-and-forget Bricks announcement, add a Dynamic data condition to its wrapper, enter {ulhgr_special_label}, and choose Is not empty. The wrapper is omitted on regular dates and appears automatically for the full matching special date.
Add an Etch Loop block with Target options.uplink_hours_greetings.week and Item ID day. Build the row with native Etch elements and use {day.day}, {day.date}, {day.hours}, {day.state}, {day.key}, {day.number}, {day.is_today}, {day.is_special}, {day.special_label}, {day.special_link_url}, and {day.special_link_label}. Current and next special-date values are available directly without a loop. For upcoming events, loop over options.uplink_hours_greetings.upcoming_special_dates; each item includes date, date_label, label, message, hours, closed, link values, and date-state flags. The plugin's How to Use tab lists every path.
Yes. Use [uplink_hours_greetings], [uplink_hours_greetings display="status"], [uplink_hours_greetings display="schedule"], or [uplink_hours_greetings display="special_dates"]. For one saved date, add special_date_mode="single" and special_date="YYYY-MM-DD". Upcoming lists accept special_date_limit, show_message, show_hours, and show_link. Each saved special date can include an optional destination URL and link label.