Sorry, was away for a while.
This code
COPY CODE
function hide_price_filter() {
if ( is_shop() || is_product_category() ) {
echo '<script>jQuery( ".widget_price_filter" ).hide();</script>';
}
}
add_action('wp_footer', 'hide_price_filter');
actualy removes it from all pages – shop and categories. What I need is to remove price filter from tha main shop page and from the page that consists a list of subcategories. (At the minimum from the main shop page)
should I justr remove this – || is_product_category() ? (to leave it only on the shop page)
Thanks
Elijah.