Content of the page

Manipulating by CSS class in tag body while filtering


If it is necessary to add any special CSS class in tag <body>, it is possible with hook 'body_class'.

Example:

 

On the code above is scenario: when WOOF searching is going by 'brand' and current page is page of category with ID 23 - system add CSS classes 'term-shoes tax-product_cat' to tag <body>.

 

 

WOOT - WooCommerce Active Products Tables