This topic has 6 replies, 3 voices, and was last updated 8 years, 11 months ago ago by Jack Richardson
Hi,
I would like to remove the filter option in my shop (the filter stating: sort on newest, sort of price, etc.).
I tried to use this code in my functions.php file in my child theme, but it did not do the trick:
remove_action( ‘woocommerce_before_shop_loop’, ‘woocommerce_catalog_ordering’, 30 );
How can I remove the filter from showing?
Thank you.
Regards,
Richard
Hello
You may hide it with following css:
.filter-content{display:none;}
Regards
Brian Johnson
Hi Brian,
Unfortunately that did not work. It is the filter you see on the page: http://protecht.nl/product-category/iphone-4-4s/
Sorry.
My mistake. Please add following code into the child-theme style.css:
.filter-wrap{display:none!important;}
Regards,
Brian Johnson
Hi Brian,
Thanks! It worked!
Regards,
Richard
Hello,
You’re welcome.
Best regards,
Jack Richardson.
Tagged: filter, persuasive, removing, shop, templates, woocommerce, wordpress
The issue related to '‘Removing filter in shop’' has been successfully resolved, and the topic is now closed for further responses