Title: Slider Plugin code for Index.php file help
Last modified: August 20, 2016

---

# Slider Plugin code for Index.php file help

 *  [Tlaron](https://wordpress.org/support/users/tlaron/)
 * (@tlaron)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/slider-plugin-code-for-indexphp-file-help/)
 * H again everyone
    I am creating a website using WordPress and I’d like to have
   a Slider to show up at the top of my pages right below the navigation bar but
   above the sidebar and body. I’ve downloaded and activated a couple Slider plugins(
   Smooth Slider, Vslider and Nivo Slider) and I’ve looked it up and some say I 
   should insert this code into the Index.php file of my theme. Here’s the code:
 * <?php if (function_exists(‘get_smooth_slider’)) { get_smooth_slider(); }?>
 * I’ve setup my sliders and tried inserting this code right under the “get header”
   code in the Index.php file of my theme but nothing shows up on my page. I’ve 
   tried this with each slider (changing the code accordingly) and it still doesn’t
   work. I was wondering if anyone knew what I was doing wrong. Like am I placing
   the code in the right place in the Index file or is should I be placing the code
   in a different .php file or is the code even typed correctly?
    If anyone could
   help me with this it would be very much appreciated. Thanks again everyone.

Viewing 1 replies (of 1 total)

 *  [wpthemes](https://wordpress.org/support/users/wpthemes/)
 * (@wpthemes)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/slider-plugin-code-for-indexphp-file-help/#post-2272563)
 * [@tlaron](https://wordpress.org/support/users/tlaron/): You can refer to this
   video tutorial below, in case you want to go with vSlider.
    [http://www.screenr.com/eqss](http://www.screenr.com/eqss)
 * if this doesn’t help please create a thread in our Forums.
    [http://www.vibethemes.com/forum/forum/vslider-support](http://www.vibethemes.com/forum/forum/vslider-support)
 * ( v )

Viewing 1 replies (of 1 total)

The topic ‘Slider Plugin code for Index.php file help’ is closed to new replies.

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [wpthemes](https://wordpress.org/support/users/wpthemes/)
 * Last activity: [14 years, 9 months ago](https://wordpress.org/support/topic/slider-plugin-code-for-indexphp-file-help/#post-2272563)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
