Code: Select all
$urlshop = $_SERVER['REQUEST_URI'];
if ($urlshop <> "/shop/")
{
echo "<div class='woocommerce-category-description'>
<div class='description'>$term_object->description</div>
</div>";
}However, if the shop pages is : /shop/?min_price=1&max_price=2550
Then it fails.
So how do I put a wildcard on the end, so that anything "/shop/*" for example, disables the DIV?