{"id":5368,"date":"2019-11-30T06:21:06","date_gmt":"2019-11-30T06:21:06","guid":{"rendered":"https:\/\/musilda.cz\/?p=5368"},"modified":"2019-11-30T06:21:06","modified_gmt":"2019-11-30T06:21:06","slug":"jak-odstranit-pocet-produktu-u-subkategorii-ve-woocommerce","status":"publish","type":"post","link":"https:\/\/affinite.io\/cs\/jak-odstranit-pocet-produktu-u-subkategorii-ve-woocommerce\/","title":{"rendered":"Jak odstranit po\u010det produkt\u016f u subkategori\u00ed ve WooCommerce"},"content":{"rendered":"\n

Snippet pro dne\u0161n\u00ed den je jednoduch\u00fd, jde jen o jeden \u0159\u00e1dek k\u00f3du, kter\u00fd sta\u010d\u00ed vlo\u017eit do k\u00f3du functions.php va\u0161\u00ed aktivn\u00ed \u0161ablony, nebo pluginu, kter\u00fd pou\u017e\u00edv\u00e1te na \u00fapravy. <\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

Jak vid\u00edte na obr\u00e1zku, takto vypad\u00e1 zobrazen\u00ed kategorie produkt\u016f, pokud v nastaven\u00ed zvol\u00edte „Zobrazit subkategorie“, nebo „Zobrazit produkty a subkategorie“. <\/p>\n\n\n\n

Nep\u016fsob\u00ed to moc hezky, \u017ee? <\/p>\n\n\n\n

Na\u0161t\u011bst\u00ed m\u00e1 WooCommerce filtr, kter\u00fd to umo\u017e\u0148uje ovlivnit. Sta\u010d\u00ed k\u00f3d, kter\u00fd jsem p\u0159idal do sv\u00e9ho Gistu https:\/\/gist.github.com\/Musilda<\/a> , vlo\u017eit do functions.php a \u017elut\u011b podbarven\u00e9 \u010d\u00edslo zmiz\u00ed.<\/p>\n\n\n\n\n\n\n\n

\"\"<\/a><\/figure>\n\n\n\n

Dal\u0161\u00ed u\u017eite\u010dn\u00e9 snippety najdete na str\u00e1nce U\u017eite\u010dn\u00e9 snippety pro WooCommerce<\/a><\/strong> <\/p>\n","protected":false},"excerpt":{"rendered":"

Snippet pro dne\u0161n\u00ed den je jednoduch\u00fd, jde jen o jeden \u0159\u00e1dek k\u00f3du, kter\u00fd sta\u010d\u00ed vlo\u017eit do k\u00f3du functions.php va\u0161\u00ed aktivn\u00ed \u0161ablony, nebo pluginu, kter\u00fd pou\u017e\u00edv\u00e1te na \u00fapravy. Jak vid\u00edte na obr\u00e1zku, takto vypad\u00e1 zobrazen\u00ed kategorie produkt\u016f, pokud v nastaven\u00ed zvol\u00edte „Zobrazit subkategorie“, nebo „Zobrazit produkty a subkategorie“. Nep\u016fsob\u00ed to moc hezky, \u017ee? Na\u0161t\u011bst\u00ed m\u00e1 WooCommerce<\/p>\n","protected":false},"author":1,"featured_media":5370,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25,29],"tags":[],"class_list":["post-5368","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-woocommerce","category-woocommerce-snippety"],"_links":{"self":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/posts\/5368"}],"collection":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/comments?post=5368"}],"version-history":[{"count":0,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/posts\/5368\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/media\/5370"}],"wp:attachment":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/media?parent=5368"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/categories?post=5368"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/tags?post=5368"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}