Support » Themes and Templates » Problem pasting PHP Code ?

  • Resolved inderjeets


    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 !

Viewing 4 replies - 1 through 4 (of 4 total)
  • Can you access your site using FTP?

    Yes, I can !

    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....
    	<?php get_sidebar(); ?>
    <?php get_footer(); ?>

    Thanks a lot David for your reply ! May God bless you !

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Problem pasting PHP Code ?’ is closed to new replies.