[WordPress] 外掛分享: WPWC classic Coming Soon

首頁外掛目錄 › WPWC classic Coming Soon
WordPress 外掛 WPWC classic Coming Soon 的封面圖片
80+
安裝啟用
★★★★★
5/5 分(1 則評價)
419 天前
最後更新
問題解決
WordPress 6.0+ PHP 7.4+ v1.0.2 上架:2024-10-08

內容簡介

總結:這個外掛提供了一個定制的 WooCommerce 經典主題專用的即將推出頁面,並使用 WooCommerce 9.1中引入的新 WooCommerce 即將推出模式。

問題與答案:
- 這個WordPress外掛的目的是什麼?
- 答:這個外掛的目的是為經典主題新增一個定制的 WooCommerce 即將推出頁面。
- 這個外掛使用了哪一個WooCommerce版本中所引入的新功能?
- 答:這個外掛使用了 WooCommerce 9.1中所引入的新 WooCommerce 即將推出模式。
- 在你的主題文件夾中可以創建哪兩種模板類型?
- 答:* store-coming-soon.php -僅限即將推出模式
* site-coming-soon.php -即將推出和僅應用於商店頁面模式
- 若要讓這個外掛生效,需要安裝並啟用哪一個版本以上的 WooCommerce 外掛?
- 答:為了讓這個定制的經典主題即將推出頁面外掛工作,必須安裝並啟用 WooCommerce 9.1或更高版本。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「WPWC classic Coming Soon」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

The plugin adds a custom WooCommerce Coming Soon page for classic themes.
The plugin uses the new WooCommerce Coming Soon mode introduced in WooCommerce 9.1.
You can create 2 types of templates in your theme’s folder:
* store-coming-soon.php – for Coming soon mode only
* site-coming-soon.php – for Coming soon and Apply to store pages only mode
Or copy the ready-made template(s) from the subfolder templates of this plugin and place it into yours site theme folder.
IMPORTANT: for WooCommerce version 9.5.1 and higher you have to use filter wpwc_classic_coming_soon_store_only_content_id for Coming soon -> Apply to store pages only mode.
For example, add this PHP code snippet in functions.php of your theme:
add_filter( 'wpwc_classic_coming_soon_store_only_content_id', function () {
return 72663;
} );

where 72663 is page ID which content will be used for Coming soon -> Apply to store pages only mode.
Requirements
For the plugin WPWC classic Coming Soon to work, you must have installed and activated plugin WooCommerce of version 9.1 and higher.

延伸相關外掛

文章
Filter
Mastodon