{"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 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<\/figure>\n\n\n\n
<\/a><\/figure>\n\n\n\n