Home › Forums › Basel support forum › Filters
Filters
- This topic has 8 replies, 3 voices, and was last updated 6 years, 10 months ago by Artem Temos.
-
AuthorPosts
-
February 5, 2018 at 4:33 pm #37598
nqpsterParticipantHello,
Can you tell me how I can deactivate the filters in top of the shop page?
And if I want to keep it, how can I remove the sort by and price filter?Thanks!
Attachments:
You must be logged in to view attached files.February 5, 2018 at 8:08 pm #37660
Artem TemosKeymasterHi,
You can disable filters area in Theme Settings -> Shop. If you want to remove default filters, add the following code snippet to the functions.php file in your child theme
add_filter( 'basel_use_custom_price_widget', '__return_false', 10 ); add_filter( 'basel_use_custom_order_widget', '__return_false', 10 );
Regards
February 5, 2018 at 8:17 pm #37669
nqpsterParticipantThanks!
February 5, 2018 at 8:47 pm #37673
nqpsterParticipantAnd another thing. I had like to change some things that are in english. Like for the search, its in english and the my account/logout too. The “All” in categories aswell. Where can i change it? Because i need to put it in french.
I add a pic so you can see 🙂
Attachments:
You must be logged in to view attached files.February 6, 2018 at 7:39 am #37734
Artem TemosKeymasterYou can translate all theme and plugin texts via PO file in WordPress. Here is a video tutorial that should help you translate your website texts with a Loco Translate plugin https://www.youtube.com/watch?v=tAFq1yTfWfU
February 15, 2018 at 7:05 am #39917
darkblackParticipantYou can disable filters area in Theme Settings -> Shop. If you want to remove default filters, add the following code snippet to the functions.php file in your child theme
add_filter( ‘basel_use_custom_price_widget’, ‘__return_false’, 10 );
add_filter( ‘basel_use_custom_order_widget’, ‘__return_false’, 10 );
RegardsI have disabled in the shop settings and also added the filters. But they dont seem to go away. Refer attached. I dont want the drop down list at all. Please advice
Thanks.
Attachments:
You must be logged in to view attached files.February 15, 2018 at 8:20 am #39954
Artem TemosKeymasterHi,
Try to use this code to disable this default sorting widget as well
remove_action( 'woocommerce_before_shop_loop', 'woocommerce_catalog_ordering', 30 );
Regards
February 15, 2018 at 10:59 am #40006
darkblackParticipantWorks great. Thanks a lot!
February 15, 2018 at 12:15 pm #40019
Artem TemosKeymasterGreat, you are welcome!
-
AuthorPosts
- You must be logged in to create new topics. Login / Register