Title: Where to put the code
Last modified: August 21, 2016

---

# Where to put the code

 *  Resolved [shilpiagarwal](https://wordpress.org/support/users/shilpiagarwal/)
 * (@shilpiagarwal)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/where-to-put-the-code-4/)
 * Hi,
 * I just installed the Logo Slider plugin. Since, I want this on the Homepage, 
   where should I put this code : <?php logo_slider();
 * Here’s a link to my website where I would like it to be installed: [http://www.socialstrategi.com/](http://www.socialstrategi.com/)
 * I tried it in home.php, index.php, etc but it’s not showing up.
 * Suggestions?
 * Thanks,
    Shilpi
 * [http://wordpress.org/plugins/logo-slider/](http://wordpress.org/plugins/logo-slider/)

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

 *  Plugin Author [Maeve Lander](https://wordpress.org/support/users/enigmaweb/)
 * (@enigmaweb)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/where-to-put-the-code-4/#post-4133803)
 * Hi Shilpi, you can use the shortcode if you’re adding it in the WP editor to 
   a page post or widget. If you need to add it in your theme then use the php `
   <?php logo_slider(); ?>`
 *  Thread Starter [shilpiagarwal](https://wordpress.org/support/users/shilpiagarwal/)
 * (@shilpiagarwal)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/where-to-put-the-code-4/#post-4133912)
 * Thanks, Maeve. But my question was exactly that. Which file of the theme should
   I add this code: <?php logo_slider(); ?>
 * style.css
    core_functions.php custom_functions.php index.php
 * or some other file?
 * Thanks.
 *  [Izzuddin](https://wordpress.org/support/users/izzuddin/)
 * (@izzuddin)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/where-to-put-the-code-4/#post-4133987)
 * you can use text widget (custom html) and then just paste [logo-slider].
    Or 
   you can paste [logo-slider] in your post.
 *  Plugin Author [Maeve Lander](https://wordpress.org/support/users/enigmaweb/)
 * (@enigmaweb)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/where-to-put-the-code-4/#post-4134014)
 * Well it depends on where you want the logo slider to appear in the theme. Like
   if you want it in the footer then add it in footer.php If you want it in the 
   header put it in header.php If you want it in your sidebar put it in sidebar.
   php If you want it some other custom place like on a specific page template you
   would put it in that template or in functions.php
 *  [marco.tsitselis](https://wordpress.org/support/users/marcotsitselis/)
 * (@marcotsitselis)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/where-to-put-the-code-4/#post-4134028)
 * I would like to set the slider in my Footer widget, I’m trying to use the shortcode[
   logo-slider] but it is not working.
 * You can see what it is appening in [http://www.logisfashion.com/](http://www.logisfashion.com/)
 * Hello Maeve, could you please help me?
 * Cheers, Marco
 *  [marco.tsitselis](https://wordpress.org/support/users/marcotsitselis/)
 * (@marcotsitselis)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/where-to-put-the-code-4/#post-4134029)
 * Thanks
 *  Plugin Author [Maeve Lander](https://wordpress.org/support/users/enigmaweb/)
 * (@enigmaweb)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/where-to-put-the-code-4/#post-4134031)
 * Sorry its taken me a while to get back to this. Looks like you worked it out.
   It was footer.php
 *  [marco.tsitselis](https://wordpress.org/support/users/marcotsitselis/)
 * (@marcotsitselis)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/where-to-put-the-code-4/#post-4134032)
 * Ys I did, thank you Maeve.

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

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

 * ![](https://s.w.org/plugins/geopattern-icon/logo-slider_b4e4d1.svg)
 * [Logo Slider](https://wordpress.org/plugins/logo-slider/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/logo-slider/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/logo-slider/)
 * [Active Topics](https://wordpress.org/support/plugin/logo-slider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/logo-slider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/logo-slider/reviews/)

 * 8 replies
 * 4 participants
 * Last reply from: [marco.tsitselis](https://wordpress.org/support/users/marcotsitselis/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/where-to-put-the-code-4/#post-4134032)
 * Status: resolved