inderjeets
Member
Posted 2 years ago #
I want to use the Smooth Slider Plugin on top of my blogs only on front page. And, I'm using the free version of Platform theme though I know that I have to paste the PHP code of Smooth Slider in Platform: template.postloop.php, but I'm not getting where exactly I've to paste it. As, I know nothing about PHP, so please provide enough explanation. It would be very helpful for me.
Thanks !
Can you access your site using FTP?
inderjeets
Member
Posted 2 years ago #
davidlfay
Member
Posted 2 years ago #
If you want the slider to appear on the front page then you will want to post the PHP in index.php for your theme. Don't post it in a loop or your slider will appear everytime the loop is executed.
<?php get_header(); ?>
<div id="wrapper">
<div id="top"><?php get_smooth_slider(); ?></div>
<div id="content" class="home">
Lorem ipsum....
</div>
<?php get_sidebar(); ?>
</div>
<?php get_footer(); ?>
inderjeets
Member
Posted 2 years ago #
Thanks a lot David for your reply ! May God bless you !