Title: Where to insert code
Last modified: August 21, 2016

---

# Where to insert code

 *  Resolved [prestigepoolsnj](https://wordpress.org/support/users/prestigepoolsnj/)
 * (@prestigepoolsnj)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/where-to-insert-code-1/)
 * Where do I insert this code: if ( function_exists( ‘soliloquy_slider’ ) ) soliloquy_slider(’
   33’ );
 * I am trying to display this on my home page under my header.
 * [http://wordpress.org/plugins/soliloquy-lite/](http://wordpress.org/plugins/soliloquy-lite/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Thomas Griffin](https://wordpress.org/support/users/griffinjt/)
 * (@griffinjt)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/where-to-insert-code-1/#post-4245738)
 * You would either place it in your `header.php` file, your `front-page.php` file
   or your `home.php` file. It depends on your theme, HTML layout and how you have
   your home page displayed. Test around and see which one works best for you.
 *  [apetrone](https://wordpress.org/support/users/apetrone/)
 * (@apetrone)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/where-to-insert-code-1/#post-4245822)
 * I have the slider in my header and it looks good except that every image in my
   slider goes to the same link. And the link is always the last link in the list
   of images.
 * If I put the slider on a page, and not in the header, it works fine.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Where to insert code’ is closed to new replies.

 * ![](https://ps.w.org/soliloquy-lite/assets/icon-256x256.png?rev=979373)
 * [Slider by Soliloquy - Responsive Image Slider for WordPress](https://wordpress.org/plugins/soliloquy-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/soliloquy-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/soliloquy-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/soliloquy-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/soliloquy-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/soliloquy-lite/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [apetrone](https://wordpress.org/support/users/apetrone/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/where-to-insert-code-1/#post-4245822)
 * Status: resolved