Support Forums - Classified Ads Script Osclass

Osclass theme support => Zara Osclass Responsive Theme => Topic started by: Альтаир Ибн Ла-Ахад on July 10, 2017, 10:52:16 AM

Title: Disable category pop-up on home page
Post by: Альтаир Ибн Ла-Ахад on July 10, 2017, 10:52:16 AM
Hi. Please help me to turn off this preview.. Thanks a lot
Title: Re: Disable category pop-up on home page
Post by: MB Themes on July 10, 2017, 10:57:20 AM
Go to file:
oc-content/themes/zara/inc.category.php

Find code:
Code: [Select]
                  <?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:
Code: [Select]
href="<?php echo osc_search_url($search_params); ?>"
Title: Re: Disable category pop-up on home page
Post by: Альтаир Ибн Ла-Ахад on July 10, 2017, 11:05:54 AM
Thanks very much