| 开发者 | stphnwlkr |
|---|---|
| 更新时间 | 2026年9月29日 21:59 |
| 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 custom layout, enable Query Loop on a Div or Container 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. The query follows WordPress's Week Starts On setting and includes closed days. For semantic hours, place the loop's Div inside a dl and set the day and hours child HTML tags to dt and dd. A Shortcode element with [uplink_hours_greetings display="schedule"] provides ready-made semantic output. Insert {ulhgr_greeting}, {ulhgr_date}, {ulhgr_both}, or {ulhgr_schedule} in a dynamic text field for inline text. Use [uplink_hours_greetings] in a Shortcode element for a live countdown.
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.hours}, {day.state}, {day.key}, {day.number}, and {day.is_today}. For individual opening and closing values, add a nested Loop block with Target day.windows and Item ID window. Its fields include start, start_label, end, end_label, end_type, and overnight. end_type is time, text, or none, so an untimed closing such as “Last Call” can be styled as text. Direct data also includes greeting, date, both, schedule, timezone, timezone_abbr, now, current, next, opening, and days. The plugin's How to Use tab lists every path. Use a shortcode-capable element for a live countdown or the ready-made schedule markup.
Yes. Use [uplink_hours_greetings], [uplink_hours_greetings display="date"], [uplink_hours_greetings display="both"], or [uplink_hours_greetings display="schedule"]. The shortcode also accepts date_format, timezone, and tz_abbr.