{"id":7161,"date":"2020-06-13T10:33:19","date_gmt":"2020-06-13T02:33:19","guid":{"rendered":"https:\/\/blog.naibabiji.com\/?p=7161"},"modified":"2020-06-11T17:52:33","modified_gmt":"2020-06-11T09:52:33","slug":"hide-woocommerce-product","status":"publish","type":"post","link":"https:\/\/blog.naibabiji.com\/woocommerce\/hide-woocommerce-product.html","title":{"rendered":"\u600e\u4e48\u5728WooCommerce\u5546\u57ce\u7f51\u7ad9\u9690\u85cf\u4ea7\u54c1"},"content":{"rendered":"<p>\u4f60\u81ea\u5df1\u5728\u5916\u8d38\u5efa\u7ad9\u7684\u8fc7\u7a0b\u4e2d\u662f\u4e0d\u662f\u5728\u601d\u8003\u5982\u4f55\u9690\u85cf\u7279\u5b9a\u7684\u4ea7\u54c1\u4e0d\u8ba9\u522b\u4eba\u770b\u5230\uff0c\u4f46\u662f\u53ef\u4ee5\u901a\u8fc7\u94fe\u63a5\u8bbf\u95ee\uff1f\u8fd9\u7bc7<a href=\"https:\/\/blog.naibabiji.com\/woocommerce\">WooCommerce\u6559\u7a0b\u6587\u7ae0<\/a>\u5c31\u662f\u4f60\u9700\u8981\u7684\uff0c\u5976\u7238\u4e3a\u4e3a\u4f60\u4ecb\u7ecd\u5982\u4f55\u8bbe\u7f6eWordPress\u7f51\u7ad9\u7279\u5b9a\u4ea7\u54c1\u9690\u85cf\u3002<\/p>\n<p>\u5728\u5f00\u59cb\u4e4b\u524d\uff0c\u8bf7\u786e\u4fdd\u4f60\u6709<a href=\"https:\/\/blog.naibabiji.com\/woocommerce\/wordpress-woocommerce.html\">\u4e00\u4e2aWordPress\u548cWooCommerce\u642d\u5efa\u7684\u5546\u57ce\u7f51\u7ad9<\/a>\u3002<\/p>\n<p>\u901a\u5e38\u78b0\u5230\u4ee5\u4e0b\u8fd9\u4e9b\u60c5\u51b5\u7684\u65f6\u5019\uff0c\u4f60\u4f1a\u8003\u8651\u628a\u4ea7\u54c1\u6682\u65f6\u9690\u85cf\uff1a<\/p>\n<ol>\n<li>\u4ec5\u5411\u67d0\u4e9b\u7279\u5b9a\u5ba2\u6237\u63d0\u4f9b\u4ea7\u54c1\uff0c\u800c\u5bf9\u666e\u901a\u8bbf\u5ba2\u9690\u85cf\uff1b<\/li>\n<li>\u6682\u65f6\u4e0d\u5728\u9500\u552e\u7684\u4ea7\u54c1\uff1b<\/li>\n<li>\u9700\u8981\u7531\u9500\u552e\u4eba\u5458\u624b\u52a8\u6dfb\u52a0\u5230\u62a5\u4ef7\u4e2d\u7684\u4ea7\u54c1\uff0c\u4e0d\u5e94\u8be5\u51fa\u73b0\u5728\u5546\u5e97\u9996\u9875\uff1b<\/li>\n<li>\u5176\u4ed6\u60c5\u51b5<\/li>\n<\/ol>\n<p>\u4e0b\u9762\u6765\u8bf4\u4e00\u8bf4\u8bbe\u7f6e\u65b9\u6cd5\u3002<\/p>\n<p>1\u3001\u4eceWooCommerce\u540e\u53f0\u6dfb\u52a0\u4ea7\u54c1\u6216\u8005\u9009\u62e9\u4f60\u8981\u9690\u85cf\u7684\u4ea7\u54c1\uff0c\u70b9\u51fb\u7f16\u8f91\u6309\u94ae\u3002<\/p>\n<p><a href=\"https:\/\/edgeone.naibabiji.com\/wp-content\/uploads\/2020\/06\/Pasted-into-\u600e\u4e48\u5728WooCommerce\u5546\u57ce\u7f51\u7ad9\u9690\u85cf\u4ea7\u54c1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-7162 size-full\" src=\"https:\/\/edgeone.naibabiji.com\/wp-content\/uploads\/2020\/06\/Pasted-into-\u600e\u4e48\u5728WooCommerce\u5546\u57ce\u7f51\u7ad9\u9690\u85cf\u4ea7\u54c1.png\" alt=\"\u7f16\u8f91WooCommerce\u4ea7\u54c1\" width=\"705\" height=\"342\" \/><\/a><\/p>\n<p>2\u3001\u5728\u4ea7\u54c1\u7684\u53f3\u4fa7\u53ef\u4ee5\u8bbe\u7f6e\u53ef\u89c1\u5ea6\uff0c\u9009\u62e9\u9690\u85cf\u5373\u53ef\u3002\uff08\u5728\u53d1\u5e03\u6309\u94ae\u4e0b\u65b9\uff09<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-7163 size-full aligncenter\" src=\"https:\/\/edgeone.naibabiji.com\/wp-content\/uploads\/2020\/06\/Pasted-into-\u600e\u4e48\u5728WooCommerce\u5546\u57ce\u7f51\u7ad9\u9690\u85cf\u4ea7\u54c1-1.png\" alt=\"\u9690\u85cfWooCommerce\u4ea7\u54c1\" width=\"509\" height=\"656\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-7164 size-full aligncenter\" src=\"https:\/\/edgeone.naibabiji.com\/wp-content\/uploads\/2020\/06\/Pasted-into-\u600e\u4e48\u5728WooCommerce\u5546\u57ce\u7f51\u7ad9\u9690\u85cf\u4ea7\u54c1-2.png\" alt=\"\u9690\u85cfWooCommerce\u4ea7\u54c1\" width=\"292\" height=\"453\" \/><\/p>\n<p>3\u3001\u70b9\u51fb\u66f4\u65b0\u6309\u94ae\uff0c\u5c31\u8bbe\u7f6e\u597d\u9690\u85cf\u4ea7\u54c1\u529f\u80fd\u4e86\u3002<\/p>\n<p>\u8fd9\u6837\u64cd\u4f5c\u540e\uff0c\u76f4\u63a5\u4ece\u7f51\u7ad9\u524d\u53f0\u770b\u4e0d\u5230\u8fd9\u4e2a\u4ea7\u54c1\uff0c\u4f46\u662f\u4f60\u4ee5\u7136\u53ef\u4ee5\u4ece\u540e\u53f0\u628a\u8fd9\u4e2a\u4ea7\u54c1\u5206\u914d\u7ed9\u5ba2\u6237\u3002<\/p>\n<p>\u5982\u679c\u4f60\u9700\u8981\u66f4\u591a\u7684\u9690\u85cf\u529f\u80fd\uff0c\u90a3\u4e48\u5c31\u9700\u8981\u501f\u52a9\u4e00\u4e9b\u4ed8\u8d39\u7684WooCommerce\u4ea7\u54c1\u63d2\u4ef6\u6765\u5b9e\u73b0\u4e86\uff0c\u8fd9\u4e2a\u4e0d\u5728\u672c\u6587\u7684\u8ba8\u8bba\u8303\u56f4\u5185\u3002\u6709\u9700\u8981\u7684\u670b\u53cb\u53ef\u4ee5\u81ea\u884c\u641c\u7d22\u4e00\u4e0b\u3002<\/p>\n\n\n<div class=\"kk-star-ratings kksr-auto kksr-align-center kksr-valign-bottom\"\n    data-payload='{&quot;align&quot;:&quot;center&quot;,&quot;id&quot;:&quot;7161&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;0&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;0&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;4&quot;,&quot;greet&quot;:&quot;\u7ed9\u672c\u6587\u6253\u5206 post&quot;,&quot;legend&quot;:&quot;0\\\/5 - (0 votes)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;title&quot;:&quot;\u600e\u4e48\u5728WooCommerce\u5546\u57ce\u7f51\u7ad9\u9690\u85cf\u4ea7\u54c1&quot;,&quot;width&quot;:&quot;0&quot;,&quot;_legend&quot;:&quot;{score}\\\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}'>\n            \n<div class=\"kksr-stars\">\n    \n<div class=\"kksr-stars-inactive\">\n            <div class=\"kksr-star\" data-star=\"1\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"2\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"3\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"4\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"5\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n    \n<div class=\"kksr-stars-active\" style=\"width: 0px;\">\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n<\/div>\n                \n\n<div class=\"kksr-legend\" style=\"font-size: 19.2px;\">\n            <span class=\"kksr-muted\">\u7ed9\u672c\u6587\u6253\u5206 post<\/span>\n    <\/div>\n    <\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u4f60\u81ea\u5df1\u5728\u5916\u8d38\u5efa\u7ad9\u7684\u8fc7\u7a0b\u4e2d\u662f\u4e0d\u662f\u5728\u601d\u8003\u5982\u4f55\u9690\u85cf\u7279\u5b9a\u7684\u4ea7\u54c1\u4e0d\u8ba9\u522b\u4eba\u770b\u5230\uff0c\u4f46\u662f\u53ef\u4ee5\u901a\u8fc7\u94fe\u63a5\u8bbf\u95ee\uff1f\u8fd9\u7bc7WooComme [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":7165,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"\u600e\u4e48\u5728WooCommerce\u5546\u57ce\u7f51\u7ad9\u9690\u85cf\u4ea7\u54c1 - \u5976\u7238\u5efa\u7ad9\u7b14\u8bb0","description":"\u4f60\u81ea\u5df1\u5728\u5916\u8d38\u5efa\u7ad9\u7684\u8fc7\u7a0b\u4e2d\u662f\u4e0d\u662f\u5728\u601d\u8003\u5982\u4f55\u9690\u85cf\u7279\u5b9a\u7684\u4ea7\u54c1\u4e0d\u8ba9\u522b\u4eba\u770b\u5230\uff0c\u4f46\u662f\u53ef\u4ee5\u901a\u8fc7\u94fe\u63a5\u8bbf\u95ee\uff1f\u8fd9\u7bc7 WooCommerce\u6559\u7a0b\u6587\u7ae0 \u5c31\u662f\u4f60\u9700\u8981\u7684\uff0c\u5976\u7238\u4e3a\u4e3a\u4f60\u4ecb\u7ecd\u5982\u4f55\u8bbe\u7f6eWordPress\u7f51\u7ad9\u7279\u5b9a\u4ea7\u54c1\u9690\u85cf\u3002 \u5728\u5f00\u59cb\u4e4b\u524d\uff0c\u8bf7\u786e\u4fdd\u4f60\u6709 \u4e00\u4e2aWordPress\u548cWooCommerce\u642d\u5efa\u7684\u5546\u57ce\u7f51\u7ad9 \u3002 \u901a\u5e38\u78b0\u5230\u4ee5\u4e0b\u8fd9\u4e9b\u60c5\u51b5\u7684\u65f6\u5019\uff0c"},"footnotes":""},"categories":[405],"tags":[],"class_list":["post-7161","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-woocommerce"],"_links":{"self":[{"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/posts\/7161","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/comments?post=7161"}],"version-history":[{"count":0,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/posts\/7161\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/media\/7165"}],"wp:attachment":[{"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/media?parent=7161"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/categories?post=7161"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/tags?post=7161"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}