Title: where to put php code for a slideshow plugin
Last modified: August 21, 2016

---

# where to put php code for a slideshow plugin

 *  [aa2nd](https://wordpress.org/support/users/aa2nd/)
 * (@aa2nd)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/where-to-put-php-code-for-a-slideshow-plugin/)
 * hello again,
    i am using Slideshow plugin ([http://wordpress.org/plugins/slideshow-jquery-image-gallery/](http://wordpress.org/plugins/slideshow-jquery-image-gallery/)),
   i have disabled CC’s default slideshow and now i want the slideshow i created
   with this plugin to appear beneath the header and above the content (exactly 
   in the place of CC’s default slideshow).
 * i wonder where i should paste the php code,
 * thank you very much!
 * p.s.
    the plugin generated this php code for my slideshow: <?php do_action(‘slideshow_deploy’,‘
   152’); ?>

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

 *  [Ham Radio](https://wordpress.org/support/users/ham-radio/)
 * (@ham-radio)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/where-to-put-php-code-for-a-slideshow-plugin/#post-4007298)
 * Well, this depends. If you put the slideshow code in your Header.php file, then
   it will show up on ever page of your website. Is that what you want?
 *  Thread Starter [aa2nd](https://wordpress.org/support/users/aa2nd/)
 * (@aa2nd)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/where-to-put-php-code-for-a-slideshow-plugin/#post-4007299)
 * unfortunately it is installed locally
 *  [Ham Radio](https://wordpress.org/support/users/ham-radio/)
 * (@ham-radio)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/where-to-put-php-code-for-a-slideshow-plugin/#post-4007300)
 * Do you want this slideshow to be seen on every page of your website?
 *  [Ham Radio](https://wordpress.org/support/users/ham-radio/)
 * (@ham-radio)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/where-to-put-php-code-for-a-slideshow-plugin/#post-4007301)
 * Open up header.php, and find this line of code. For me, it is like 66:
    `</div
   ><!-- #header -->`
 * Put your slideshow code directly underneath it. At this point, it will probably
   align it left. If it does this, and you want it centered, then do this:
 *     ```
       <div align="center">
       (Code for slideshow)
       </div>
       ```
   
 *  Thread Starter [aa2nd](https://wordpress.org/support/users/aa2nd/)
 * (@aa2nd)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/where-to-put-php-code-for-a-slideshow-plugin/#post-4007302)
 * strangely enough, i did it for test yesterday and i put it exactly where you 
   said now (i know nothing about coding), and it works, thanx 🙂
 *  [Ham Radio](https://wordpress.org/support/users/ham-radio/)
 * (@ham-radio)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/where-to-put-php-code-for-a-slideshow-plugin/#post-4007303)
 * Your Welcome, glad you got it working.

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

The topic ‘where to put php code for a slideshow plugin’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/custom-community/2.1.2/screenshot.
   png)
 * Custom Community
 * [Support Threads](https://wordpress.org/support/theme/custom-community/)
 * [Active Topics](https://wordpress.org/support/theme/custom-community/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/custom-community/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/custom-community/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Ham Radio](https://wordpress.org/support/users/ham-radio/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/where-to-put-php-code-for-a-slideshow-plugin/#post-4007303)
 * Status: not resolved