Title: Slider in template
Last modified: March 28, 2018

---

# Slider in template

 *  Resolved [Euritos](https://wordpress.org/support/users/euritos/)
 * (@euritos)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/slider-in-template/)
 * Hello,
 * I would like to know if is possible to add this slider to the template (for example
   in Header.php)
 * I have seen that this plugin uses shortcodes, but there is a way to put in the
   template?
 * Thanks very much and sorry for my bad english.

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

 *  Plugin Author [rameez_iqbal](https://wordpress.org/support/users/rameez_iqbal/)
 * (@rameez_iqbal)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/slider-in-template/#post-10126434)
 * Hi, yes you can use shortcodes in php files using function do_shortcode. Suppose
   you have this shortcode
 * `[wcp-carousel id="225" order="DESC" orderby="date" count="10"]`
 * in header.php file, paste following code inside php tags
 * `echo do_shortcode('[wcp-carousel id="225" order="DESC" orderby="date" count="
   10"]');`
 *  Thread Starter [Euritos](https://wordpress.org/support/users/euritos/)
 * (@euritos)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/slider-in-template/#post-10127692)
 * Thank you Rameez! 🙂

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

The topic ‘Slider in template’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/responsive-posts-carousel_94979c.
   svg)
 * [Responsive Posts Carousel](https://wordpress.org/plugins/responsive-posts-carousel/)
 * [Support Threads](https://wordpress.org/support/plugin/responsive-posts-carousel/)
 * [Active Topics](https://wordpress.org/support/plugin/responsive-posts-carousel/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/responsive-posts-carousel/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/responsive-posts-carousel/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Euritos](https://wordpress.org/support/users/euritos/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/slider-in-template/#post-10127692)
 * Status: resolved