{"id":9440,"date":"2021-09-13T22:40:53","date_gmt":"2021-09-13T14:40:53","guid":{"rendered":"https:\/\/blog.naibabiji.com\/?p=9440"},"modified":"2021-09-13T22:40:53","modified_gmt":"2021-09-13T14:40:53","slug":"woocommerce-archive-description-order","status":"publish","type":"post","link":"https:\/\/blog.naibabiji.com\/woocommerce\/woocommerce-archive-description-order.html","title":{"rendered":"\u8c03\u6574WooCommerce\u4ea7\u54c1\u5206\u7c7b\u9875\u63cf\u8ff0\u663e\u793a\u4f4d\u7f6e"},"content":{"rendered":"<p>\u5f53\u6211\u4eec\u901a\u8fc7WordPress\u5efa\u7ad9\uff0c\u5e76\u4e14\u4f7f\u7528WooCommerce\u6765\u5c55\u793a\u4ea7\u54c1\u7684\u65f6\u5019\uff0c\u51fa\u4e8eSEO\u7684\u8003\u8651\uff0c\u6211\u4eec\u4f1a\u7ed9\u4ea7\u54c1\u5206\u7c7b\u9875\u589e\u52a0\u63cf\u8ff0\u5185\u5bb9\uff0c\u7528\u6765\u5e03\u5c40\u5173\u952e\u8bcd\u3002<\/p>\n<p>\u9ed8\u8ba4\u7684WooCommerce\u5206\u7c7b\u9875\u63cf\u8ff0\u663e\u793a\u5728\u7f51\u9875\u7684\u6807\u9898\u4e0b\u9762\uff0c\u53ef\u80fd\u6709\u4e9b\u60c5\u51b5\u4f60\u8fd9\u4e9b\u6587\u5b57\u5185\u5bb9\u5e76\u4e0d\u5e0c\u671b\u7b2c\u4e00\u65f6\u95f4\u7ed9\u8bbf\u5ba2\u770b\u5230\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u4e0b\u9762\u7684\u4ee3\u7801\u628a\u5206\u7c7b\u63cf\u8ff0\u4fe1\u606f\u79fb\u52a8\u5230\u4ea7\u54c1\u5217\u8868\u5e95\u4e0b\u53bb\u663e\u793a\uff0c\u8fd9\u6837\u7528\u6237\u8fdb\u5165\u7f51\u7ad9\u7b2c\u4e00\u773c\u770b\u5230\u7684\u8fd8\u662f\u4ea7\u54c1\u5217\u8868\uff0c\u770b\u5b8c\u4ea7\u54c1\u4e4b\u540e\u624d\u4f1a\u770b\u5230\u4f60\u6dfb\u52a0\u7684\u6587\u5b57\u90e8\u5206\u3002<\/p>\n<pre>\/\/ \u8c03\u6574\u5206\u7c7b\u63cf\u8ff0\u987a\u5e8f \u5976\u7238\u5efa\u7ad9\u7b14\u8bb0\r\nadd_action('woocommerce_archive_description', 'custom_archive_description', 2 );\r\nfunction custom_archive_description(){\r\nif( is_product_category() ) :\r\nremove_action('woocommerce_archive_description', 'woocommerce_taxonomy_archive_description', 10 );\r\nadd_action( 'woocommerce_after_shop_loop', 'woocommerce_taxonomy_archive_description', 10 );\r\nendif;\r\n}<\/pre>\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;9440&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;15&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;2.5&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;2.5\\\/5 - (15 votes)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;title&quot;:&quot;\u8c03\u6574WooCommerce\u4ea7\u54c1\u5206\u7c7b\u9875\u63cf\u8ff0\u663e\u793a\u4f4d\u7f6e&quot;,&quot;width&quot;:&quot;68&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: 68px;\">\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            2.5\/5 - (15 votes)    <\/div>\n    <\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u5f53\u6211\u4eec\u901a\u8fc7WordPress\u5efa\u7ad9\uff0c\u5e76\u4e14\u4f7f\u7528WooCommerce\u6765\u5c55\u793a\u4ea7\u54c1\u7684\u65f6\u5019\uff0c\u51fa\u4e8eSEO\u7684\u8003\u8651\uff0c\u6211\u4eec\u4f1a\u7ed9\u4ea7 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":7726,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"\u8c03\u6574WooCommerce\u4ea7\u54c1\u5206\u7c7b\u9875\u63cf\u8ff0\u663e\u793a\u4f4d\u7f6e - \u5976\u7238\u5efa\u7ad9\u7b14\u8bb0","description":"\u5f53\u6211\u4eec\u901a\u8fc7WordPress\u5efa\u7ad9\uff0c\u5e76\u4e14\u4f7f\u7528WooCommerce\u6765\u5c55\u793a\u4ea7\u54c1\u7684\u65f6\u5019\uff0c\u51fa\u4e8eSEO\u7684\u8003\u8651\uff0c\u6211\u4eec\u4f1a\u7ed9\u4ea7\u54c1\u5206\u7c7b\u9875\u589e\u52a0\u63cf\u8ff0\u5185\u5bb9\uff0c\u7528\u6765\u5e03\u5c40\u5173\u952e\u8bcd\u3002 \u9ed8\u8ba4\u7684WooCommerce\u5206\u7c7b\u9875\u63cf\u8ff0\u663e\u793a\u5728\u7f51\u9875\u7684\u6807\u9898\u4e0b\u9762\uff0c\u53ef\u80fd\u6709\u4e9b\u60c5\u51b5\u4f60\u8fd9\u4e9b\u6587\u5b57\u5185\u5bb9\u5e76\u4e0d\u5e0c\u671b\u7b2c\u4e00\u65f6\u95f4\u7ed9\u8bbf\u5ba2\u770b\u5230\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u4e0b\u9762\u7684\u4ee3\u7801\u628a\u5206\u7c7b\u63cf\u8ff0\u4fe1\u606f\u79fb\u52a8\u5230\u4ea7\u54c1\u5217\u8868\u5e95\u4e0b\u53bb"},"footnotes":""},"categories":[405],"tags":[],"class_list":["post-9440","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\/9440","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=9440"}],"version-history":[{"count":0,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/posts\/9440\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/media\/7726"}],"wp:attachment":[{"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/media?parent=9440"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/categories?post=9440"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/tags?post=9440"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}