Title: Close Up Shop
Author: Eliyahna
Published: <strong>2025 年 2 月 25 日</strong>
Last modified: 2025 年 4 月 24 日

---

搜尋外掛

![](https://ps.w.org/shop-closed/assets/banner-772x250.jpg?rev=3246174)

![](https://ps.w.org/shop-closed/assets/icon-256x256.jpg?rev=3246175)

# Close Up Shop

 由 [Eliyahna](https://profiles.wordpress.org/eliyahna/) 開發

[下載](https://downloads.wordpress.org/plugin/shop-closed.1.4.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/shop-closed/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/shop-closed/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/shop-closed/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/shop-closed/#developers)

 [技術支援](https://wordpress.org/support/plugin/shop-closed/)

## 外掛說明

Close Up Shop lets WooCommerce store‑owners define any number of closure periods(
for holidays, inventory counts, vacations, etc.). While the shop is closed, all 
store‑related pages (shop, product, cart, checkout, account) redirect to a dedicated
Shop Closed page that displays your custom message and the exact date & time the
shop will reopen.

Version 1.4 introduces a real‑time [closeupshop_reopen_time] shortcode that is evaluated
whenever the page is viewed, so the reopening information is never stale, even if
you change the schedule later.

Key Features

Creates a Shop Closed page automatically on activation.

Intuitive admin screen under Settings  Close Up Shop to add, remove, and reorder
unlimited closure periods.

One‑click Add / Remove rows (JavaScript enhanced, no page refresh).

Live [closeupshop_reopen_time] shortcode – drop it anywhere to show the next reopening
date & time using your WordPress date/time formats.

Automatic redirection from WooCommerce pages while the shop is closed.

Respects the site time‑zone set in Settings  General.

Sends nocache_headers() and defines DONOTCACHEPAGE during redirects and on the Shop
Closed page to prevent caching plugins from serving outdated content.

### Short Description

Automatically redirects visitors to a “Shop Closed” page during scheduled closure
periods and shows a live reopening time powered by a shortcode that updates on every
page load.

### Support

Need help? Open a topic on the plugin support forum or contact the author via https://
eliyahna.com.

### Acknowledgements

Thanks to the WordPress & WooCommerce communities for their amazing tools and documentation.

## 安裝方式

Upload the plugin folder to /wp-content/plugins/ or install through Plugins  Add
New.

Activate Close Up Shop.

Visit Settings  Close Up Shop to add your closure periods and adjust the default
message if desired.

## 常見問題集

### How do I show the reopening time anywhere else on my site?

Use the [closeupshop_reopen_time] shortcode in posts, pages, widgets, or templates.
It will output the next reopening date and time.

### Can I set multiple closure periods?

Absolutely. Add as many periods as you need – they can even overlap. The plugin 
will pick the currently active period, or the nearest upcoming one if the shop is
currently open.

### What happens when a closure period ends?

As soon as the end time passes, the shop automatically reopens and customers can
access your WooCommerce pages again without redirection.

### Does the plugin respect WordPress time‑zone settings?

Yes. All scheduling uses the site time‑zone selected in Settings  General.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Close Up Shop〉的開發相關工作。

參與者

 *   [ Eliyahna ](https://profiles.wordpress.org/eliyahna/)

[將〈Close Up Shop〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/shop-closed)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/shop-closed/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/shop-closed/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/shop-closed/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/shop-closed/)。

## 變更記錄

#### 1.4

Introduced [closeupshop_reopen_time] shortcode for real‑time reopening info (replaces
former placeholder approach).

Rewrote admin Add / Remove row JavaScript; fixed Remove button not working due to
missing type=”button”.

All date/time comparisons now use DateTimeImmutable in the site time‑zone for robustness.

Added nocache_headers() and DONOTCACHEPAGE constants to prevent cached “Shop Closed”
pages.

Code clean‑up, documentation refresh, version bump.

#### 1.3

Re‑architected period‑selection logic (chooses latest ending active period or earliest
upcoming).

Switched to short‑code driven message so reopening time updates without resaving
settings.

Added helper utilities and improved sanitisation.

#### 1.2

Initial public release after renaming project to Close Up Shop.

## 中繼資料

 *  版本 **1.4**
 *  最後更新 **1 年前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 5.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.8.5**
 *  語言
 * [English (US)](https://wordpress.org/plugins/shop-closed/)
 * 標籤:
 * [closed](https://tw.wordpress.org/plugins/tags/closed/)[page redirect](https://tw.wordpress.org/plugins/tags/page-redirect/)
   [shop](https://tw.wordpress.org/plugins/tags/shop/)[woocommerce](https://tw.wordpress.org/plugins/tags/woocommerce/)
 *  [進階檢視](https://tw.wordpress.org/plugins/shop-closed/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/shop-closed/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/shop-closed/reviews/)

## 參與者

 *   [ Eliyahna ](https://profiles.wordpress.org/eliyahna/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/shop-closed/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://eliyahna.com/donate/)