Title: Problem pasting PHP Code ?
Last modified: August 19, 2016

---

# Problem pasting PHP Code ?

 *  Resolved [inderjeets](https://wordpress.org/support/users/inderjeets/)
 * (@inderjeets)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/problem-pasting-php-code/)
 * 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)

 *  [Michelle Langston](https://wordpress.org/support/users/chellycat/)
 * (@chellycat)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/problem-pasting-php-code/#post-1850359)
 * Can you access your site using FTP?
 *  Thread Starter [inderjeets](https://wordpress.org/support/users/inderjeets/)
 * (@inderjeets)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/problem-pasting-php-code/#post-1850468)
 * Yes, I can !
 *  [davidlfay](https://wordpress.org/support/users/davidlfay/)
 * (@davidlfay)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/problem-pasting-php-code/#post-1850490)
 * 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(); ?>
       ```
   
 *  Thread Starter [inderjeets](https://wordpress.org/support/users/inderjeets/)
 * (@inderjeets)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/problem-pasting-php-code/#post-1850533)
 * 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.

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)
 * [Platform](https://wordpress.org/support/topic-tag/platform/)

 * 4 replies
 * 3 participants
 * Last reply from: [inderjeets](https://wordpress.org/support/users/inderjeets/)
 * Last activity: [15 years, 4 months ago](https://wordpress.org/support/topic/problem-pasting-php-code/#post-1850533)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
