Osclass Support Forums

Osclass theme support => Gamma Osclass Theme => Topic started by: atba on September 03, 2021, 03:58:02 PM

Title: disable premium
Post 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?
Title: Re: disable premium
Post by: MB Themes on September 03, 2021, 04:42:57 PM
Yes if you update search_gallery.php
It should not be complicated
Title: Re: disable premium
Post by: atba on September 06, 2021, 06:52:02 AM
What does update mean?
Title: Re: disable premium
Post by: MB Themes on September 06, 2021, 09:34:06 AM
Go to file and perform update.
Title: Re: disable premium
Post by: atba on October 06, 2021, 11:28:16 AM
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? ???
Title: Re: disable premium
Post by: MB Themes on October 06, 2021, 03:38:25 PM
I meant, to open search_gallery.php and remove whatever you do not like there (i.e. premiums block).
Title: Re: disable premium
Post by: atba on February 05, 2022, 01:59:51 AM
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
Title: Re: disable premium
Post by: MB Themes on February 07, 2022, 10:35:32 AM
@Atba
Not it is not necessary, but you can update search.php and hide this blog if $search_cat_id <= 0