Filter category in WooCommerce shop page to display related sub-category

According to your description I’m assuming your each product has a category named Designers and designer-name subcategory under Designers category. In that case the following CODE will work for you (read the comments within the CODE for explanation): function wc_shop_product_sub_category() { // get the category object for “designers” category $designers_category = get_term_by( ‘name’, ‘designers’, ‘product_cat’ … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)