Title: Adding a Plugin&#039;s Shortcode to Theme&#039;s PHP Files
Last modified: August 30, 2016

---

# Adding a Plugin's Shortcode to Theme's PHP Files

 *  [HumbleThinker](https://wordpress.org/support/users/humblethinker/)
 * (@humblethinker)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/adding-a-plugins-shortcode-to-themes-php-files/)
 * So I found a few threads asking this same question, but none of the answers were
   helpful to me. I’m having issues with the evolve Bootstrap Slider that I’m not
   getting help with (like the theme otherwise) so I want to add the Ultimate Responsive
   Slider to evolve’s header.php file to add the slide to the header of each page
   as opposed to the body. Assuming it exists, what is the php code for utilizing
   the shortcode for a plugin. An example of the UR Slider’s shortcode is [URIS 
   id=108]. Thanks for any help.

Viewing 1 replies (of 1 total)

 *  [catacaustic](https://wordpress.org/support/users/catacaustic/)
 * (@catacaustic)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/adding-a-plugins-shortcode-to-themes-php-files/#post-6762451)
 * Adding a shortcode to a template page is actually very easy. You just need to
   [do_shortcode()](https://developer.wordpress.org/reference/functions/do_shortcode/)
   function.
 * An example would be like this:
 * `<?php echo do_shortcode ( '[URIS id=108]' ); ?>`

Viewing 1 replies (of 1 total)

The topic ‘Adding a Plugin's Shortcode to Theme's PHP Files’ is closed to new replies.

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 1 reply
 * 2 participants
 * Last reply from: [catacaustic](https://wordpress.org/support/users/catacaustic/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/adding-a-plugins-shortcode-to-themes-php-files/#post-6762451)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
