Advertisement:

Author Topic: [SOLVED]How to show Search bar, carousel on every page?  (Read 1604 times)

adv2sell

  • Jr. Member
  • **
  • Posts: 84
[SOLVED]How to show Search bar, carousel on every page?
« on: April 14, 2014, 01:25:01 pm »
Hi
I could not find any solution for this... :-\ I would appreciate it if experts can assist on this....
I use modern theme 3.0.3 osclass version 3.2.2

thanks
« Last Edit: April 15, 2014, 02:22:12 am by adv2sell »

adv2sell

  • Jr. Member
  • **
  • Posts: 84
Re: How to show Search bar, carousel on every page?
« Reply #1 on: April 15, 2014, 02:18:49 am »
By Cartanega


the search bar in modern theme is called in file main.php
you can comment the line
<div class="form_publish">
            <?php osc_current_web_theme_path('inc.search.php'); ?>
        </div>
in main.php and add the same code in header.php at the end of the file

this will show the search bar in every page of your site


comment mean add <?php /* CODE YOU WANT TO COMMENT */  ?>

so, find this code in main.php

<div class="form_publish">
            <?php osc_current_web_theme_path('inc.search.php'); ?>
        </div>

and change it with

Code: [Select]
<?php /*   <div class="form_publish">
            <?php osc_current_web_theme_path('inc.search.php'); ?>

        </div> */ ?>



Thank you





adv2sell

  • Jr. Member
  • **
  • Posts: 84
Re: [SOLVED]How to show Search bar, carousel on every page?
« Reply #2 on: April 16, 2014, 11:45:23 pm »
Cartanega Thanks for your help! :)