Title: Theme PHP Embedding
Last modified: August 20, 2016

---

# Theme PHP Embedding

 *  Resolved [Andy Mercer](https://wordpress.org/support/users/kelderic/)
 * (@kelderic)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/theme-php-embedding/)
 * Is there a way to put an auto-embed into a PHP template file? So that the user
   won’t have to type [satellite] on every page?
 * [http://wordpress.org/extend/plugins/slideshow-satellite/](http://wordpress.org/extend/plugins/slideshow-satellite/)

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

 *  Plugin Author [cpres](https://wordpress.org/support/users/cpres/)
 * (@cpres)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/theme-php-embedding/#post-3136899)
 * do_shortcode is the tool I prefer:
    [http://codex.wordpress.org/Function_Reference/do_shortcode](http://codex.wordpress.org/Function_Reference/do_shortcode)
 *     ```
       <?php
       echo do_shortcode('
       [satellite auto=on caption=off]
       ');
       ?>
       ```
   
 *  Thread Starter [Andy Mercer](https://wordpress.org/support/users/kelderic/)
 * (@kelderic)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/theme-php-embedding/#post-3136900)
 * I considered that but I do, the CSS and Javascript files don’t get applied.
 *  Plugin Author [cpres](https://wordpress.org/support/users/cpres/)
 * (@cpres)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/theme-php-embedding/#post-3136901)
 * yeah you’ll have to turn off the Shortcode Requirement under Advanced Settings
   if you do template embedding. Otherwise it reads through post content for the
   embed which there wouldn’t be any.
 * Of course there’s also putting [satellite display=off] in the posts with the 
   template in question
 *  Thread Starter [Andy Mercer](https://wordpress.org/support/users/kelderic/)
 * (@kelderic)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/theme-php-embedding/#post-3136902)
 * Wonderful, it works! Thank you!

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

The topic ‘Theme PHP Embedding’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/slideshow-satellite_9bd8db.svg)
 * [Slideshow Satellite](https://wordpress.org/plugins/slideshow-satellite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/slideshow-satellite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/slideshow-satellite/)
 * [Active Topics](https://wordpress.org/support/plugin/slideshow-satellite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/slideshow-satellite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/slideshow-satellite/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Andy Mercer](https://wordpress.org/support/users/kelderic/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/theme-php-embedding/#post-3136902)
 * Status: resolved