By pmzhou on Mon, 09/01/2014 - 08:10 Forums: Free Themes SupportHi guys My Hertz slideshow shows on home page only. Can i possibly make it show on all pages? Log in or register to post comments Comments Submitted by admin on Mon, 09/01/2014 - 17:21 Do you want to display the same homepage slider on all pages or you want to create different sliders for different pages?? Log in or register to post comments Submitted by pmzhou on Thu, 09/11/2014 - 07:48 Thanks for response, i noticed the slider shows on home page only. I would like it to show on all pages. Log in or register to post comments Submitted by admin on Thu, 09/11/2014 - 08:30 Please follow below steps: Step 1: Open /templates/page.tpl.php in any text editor. Step 2: Find following line. </nav> <!-- /#navigation --> Step 3: Copy paste below codes after that line <!-- START SLIDER --><?php if (theme_get_setting('home_slider')): ?><div class="container clearfix"><div id="slider"> <div class="main_view"> <div class="window"> <div class="image_reel"> <img src="<?php echo theme_get_setting('slider_one_image'); ?>" /> <img src="<?php echo theme_get_setting('slider_two_image'); ?>" /> <img src="<?php echo theme_get_setting('slider_three_image'); ?>" /> </div> <div class="slider-title"> <div class="slidertitle"><?php echo theme_get_setting('slider_one_title'); ?></div> <div class="slidertitle"><?php echo theme_get_setting('slider_two_title'); ?></div> <div class="slidertitle"><?php echo theme_get_setting('slider_three_title'); ?></div> </div> <div class="slider-text"> <div class="slidertext" style="display: none;"><?php echo theme_get_setting('slider_one_desc'); ?></div> <div class="slidertext" style="display: none;"><?php echo theme_get_setting('slider_two_desc'); ?></div> <div class="slidertext" style="display: none;"><?php echo theme_get_setting('slider_three_desc'); ?></div> </div> </div> <div class="paging"> <a rel="1" href="#">1</a> <a rel="2" href="#">2</a> <a rel="3" href="#">3</a> </div> </div></div> <!-- end slider --></div><?php endif; ?><div class="clear"></div><!-- END SLIDER --> Step 4: save page.tpl.php file. Done!! Log in or register to post comments Submitted by pmzhou on Fri, 09/12/2014 - 11:53 Thanks, worked like a charm. Log in or register to post comments
Comments
Do you want to display the same homepage slider on all pages or you want to create different sliders for different pages??
Thanks for response, i noticed the slider shows on home page only. I would like it to show on all pages.
Please follow below steps:
Step 1:
Open /templates/page.tpl.php in any text editor.
Step 2:
Find following line.
</nav> <!-- /#navigation -->
Step 3:
Copy paste below codes after that line
<!-- START SLIDER -->
<?php if (theme_get_setting('home_slider')): ?>
<div class="container clearfix">
<div id="slider">
<div class="main_view">
<div class="window">
<div class="image_reel">
<img src="<?php echo theme_get_setting('slider_one_image'); ?>" />
<img src="<?php echo theme_get_setting('slider_two_image'); ?>" />
<img src="<?php echo theme_get_setting('slider_three_image'); ?>" />
</div>
<div class="slider-title">
<div class="slidertitle"><?php echo theme_get_setting('slider_one_title'); ?></div>
<div class="slidertitle"><?php echo theme_get_setting('slider_two_title'); ?></div>
<div class="slidertitle"><?php echo theme_get_setting('slider_three_title'); ?></div>
</div>
<div class="slider-text">
<div class="slidertext" style="display: none;"><?php echo theme_get_setting('slider_one_desc'); ?></div>
<div class="slidertext" style="display: none;"><?php echo theme_get_setting('slider_two_desc'); ?></div>
<div class="slidertext" style="display: none;"><?php echo theme_get_setting('slider_three_desc'); ?></div>
</div>
</div>
<div class="paging">
<a rel="1" href="#">1</a>
<a rel="2" href="#">2</a>
<a rel="3" href="#">3</a>
</div>
</div>
</div> <!-- end slider -->
</div>
<?php endif; ?>
<div class="clear"></div>
<!-- END SLIDER -->
Step 4:
save page.tpl.php file. Done!!
Thanks, worked like a charm.