Osclass Support Forums
Osclass theme support => Gamma Osclass Theme => Topic started by: atba on September 03, 2021, 03:58:02 PM
-
Hello. Tell me, is it possible not to show premium ads on the search page if no category is selected?
-
Yes if you update search_gallery.php
It should not be complicated
-
What does update mean?
-
Go to file and perform update.
-
Still, the answer is not quite clear. Do you mean to update the file from a more recent version of Gamma, or is there something I don't understand due to translation difficulties? ???
-
I meant, to open search_gallery.php and remove whatever you do not like there (i.e. premiums block).
-
Yes, not quite to remove part of the code. Then there will be no premium at all. It is necessary not to show premium if no category is selected
-
@Atba
Not it is not necessary, but you can update search.php and hide this blog if $search_cat_id <= 0