Support Forums - Classified Ads Script Osclass
Osclass theme support => Veronika Osclass Responsive Theme => Topic started by: casper on August 16, 2018, 03:52:21 PM
-
Hello
I try to exclude ads from a particular section of the app next to the last ad on the home page, I searched until you found this code and tried to use it, but programming the veronika template is different from the others in some things.
I hope to correct the code or write code that can be used for this purpose.
<?php while ( osc_has_latest_items() ) {
if (in_array(osc_item_category_id(), array(7, 11, 23, 8))) continue; ?>
-
You code is not doing anything
<?php
while ( osc_has_latest_items() ) {
if (in_array(osc_item_category_id(), array(7, 11, 23, 8))) {
... code ...
}
}
?>