T
T
TinkyGO2020-10-29 13:52:21
Burglary protection
TinkyGO, 2020-10-29 13:52:21

How to display WooCommerce filters on the homepage?

I'm displaying WooCommerce products on the home page using the [recent_products] shortcode. Can you please tell me how to add filters?

Googled the WOOF plugin - WooCommerce Products Filter. Made a filter there. Now the question is: how to display filters? By prices, attributes, etc. I suspect there is a shortcode.

Filter to widgets is not an option because I don't use widgets at all. They mess up the network. But you need to add a filter to the top of the page.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Evgeny Bukharev, 2016-05-13
@evgenybuckharev

This is one of the methods of link spam, done in case the logs are somehow available via the link, search engines scan such logs and profit, there is a link to the site

W
WP Panda, 2020-10-29
@wppanda5 WooCommerce

like this

<?php echo do_shortcode("[woof_products per_page=8 columns=3 is_ajax=0 taxonomies=product_cat:9 custom_tpl='woof_tpls/woo_tpl_1.php']"); ?>

Docks: https://products-filter.com/documentation/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question