Support Forums - Classified Ads Script Osclass
Osclass theme support => Zara Osclass Responsive Theme => Topic started by: Альтаир Ибн Ла-Ахад on July 10, 2017, 10:52:16 AM
-
Hi. Please help me to turn off this preview.. Thanks a lot
-
Go to file:
oc-content/themes/zara/inc.category.php
Find code:
<?php if(osc_is_home_page()) { ?>href="#ct<?php echo osc_category_id(); ?>"<?php } else { ?>href="<?php echo osc_search_url($search_params); ?>"<?php } ?>
<?php if(osc_is_home_page()) { ?>class="open-home-cat"<?php } ?>
<?php if(osc_is_home_page()) { ?>title="<?php _e('Show subcategories of', 'zara'); ?> <?php echo osc_category_name(); ?>"<?php } ?>
Replace with:
href="<?php echo osc_search_url($search_params); ?>"
-
Thanks very much