Title: how to use Template include code with PHP
Last modified: August 22, 2016

---

# how to use Template include code with PHP

 *  [mcwtest](https://wordpress.org/support/users/mcwtest/)
 * (@mcwtest)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/how-to-use-template-include-code-with-php/)
 * Template Include
    Copy & paste this code into a template file to include the 
   slideshow within your theme.
 * <?php echo do_shortcode(“[huge_it_gallery id=’1′]”); ?>
 * [https://wordpress.org/plugins/gallery-images/](https://wordpress.org/plugins/gallery-images/)

Viewing 1 replies (of 1 total)

 *  [support-huge-it](https://wordpress.org/support/users/support-huge-it/)
 * (@support-huge-it)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/how-to-use-template-include-code-with-php/#post-5718925)
 * Dear, you should go in you preferable file in template and put that code. For
   example, if you need to insert gallery into header, go in header.php and past
   it there

Viewing 1 replies (of 1 total)

The topic ‘how to use Template include code with PHP’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/gallery-images_f0b24c.svg)
 * [Image Gallery - Responsive Photo Gallery](https://wordpress.org/plugins/gallery-images/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gallery-images/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gallery-images/)
 * [Active Topics](https://wordpress.org/support/plugin/gallery-images/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gallery-images/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gallery-images/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [support-huge-it](https://wordpress.org/support/users/support-huge-it/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/how-to-use-template-include-code-with-php/#post-5718925)
 * Status: not resolved