PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Filtering which pages the WOOF filter loads on...how to add home page

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hi there,

I need the filter to work only on these pages:

Home page, woocommerce products and categories, /parts-finder, /brand

I did this:

https://cl.ly/3b4f8e40186b

But the filter doesn't work on the home page. If I add the home page url it will add it to all pages, so i tried 'home' as that is the slug in WP, but still didn't work

How to fix this?

Hello

try  in file - \wp-content\plugins\woocommerce-products-filter\index.php - add  code( https://c2n.me/42ygD0T.png )

if($_SERVER['REQUEST_URI']=="/"){
$this->is_activated = true;
return true;
}