{"id":410457,"date":"2024-10-09T08:00:00","date_gmt":"2024-10-09T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/wpwc-classic-coming-soon\/"},"modified":"2025-01-22T22:47:00","modified_gmt":"2025-01-22T22:47:00","slug":"wpwc-classic-coming-soon","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/wpwc-classic-coming-soon\/","title":{"rendered":"WPWC classic Coming Soon"},"content":{"rendered":"<p>The plugin adds a custom WooCommerce Coming Soon page for classic themes.<br \/>\nThe plugin uses the new <a href=\"https:\/\/woocommerce.com\/document\/configuring-woocommerce-settings\/coming-soon-mode\/\" rel=\"nofollow ugc\">WooCommerce Coming Soon mode introduced in WooCommerce 9.1<\/a>.<\/p>\n<p>You can create 2 types of templates in your theme\u2019s folder:<br \/>\n* <code>store-coming-soon.php<\/code> \u2013 for <strong>Coming soon<\/strong> mode only<br \/>\n* <code>site-coming-soon.php<\/code> \u2013 for <strong>Coming soon<\/strong> and <strong>Apply to store pages only<\/strong> mode<\/p>\n<p>Or copy the ready-made template(s) from the subfolder <code>templates<\/code> of this plugin and place it into yours site theme folder.<\/p>\n<p><strong>IMPORTANT<\/strong>: for WooCommerce version 9.5.1 and higher you have to use filter <code>wpwc_classic_coming_soon_store_only_content_id<\/code> for <code>Coming soon -> Apply to store pages only<\/code> mode.<\/p>\n<p>For example, add this PHP code snippet in <code>functions.php<\/code> of your theme:<\/p>\n<pre><code> add_filter( 'wpwc_classic_coming_soon_store_only_content_id', function () {\n    return 72663;\n } );\n<\/code><\/pre>\n<p>where <code>72663<\/code> is page ID which content will be used for <code>Coming soon -> Apply to store pages only<\/code> mode.<\/p>\n<h4>Requirements<\/h4>\n<p>For the plugin <strong>WPWC classic Coming Soon<\/strong> to work, you must have installed and activated plugin <strong>WooCommerce<\/strong> of version 9.1 and higher.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The plugin adds a custom WooCommerce Coming Soon page for classic themes.<\/p>\n","protected":false},"author":65,"featured_media":410458,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"WPWC classic Coming Soon - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"The plugin adds a custom WooCommerce Coming Soon page for classic themes."},"footnotes":""},"categories":[1],"tags":[770,42],"class_list":["post-410457","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-coming-soon","tag-woocommerce"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/410457","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=410457"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/410457\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/410458"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=410457"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=410457"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=410457"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}