Hello. There is a code
<div class="category_description"> <?php echo $this->category->category_description; ?> </div> How to make the div not output if start is present in some url? Thank!
category->...">
Hello. There is a code
<div class="category_description"> <?php echo $this->category->category_description; ?> </div> How to make the div not output if start is present in some url? Thank!
Probably something like this:
<?php if (strpos(strtolower($_SERVER['REQUEST_URI']),'start')===false) { ?> <div class="category_description"> <?php echo $this->category->category_description; ?> </div> <?php } ?> Source: https://ru.stackoverflow.com/questions/571553/
All Articles