Title: Inputing Shortcode into Theme
Last modified: August 30, 2016

---

# Inputing Shortcode into Theme

 *  [recspec](https://wordpress.org/support/users/recspec/)
 * (@recspec)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/inputing-shortcode-into-theme/)
 * Hi there,
 * When I try to input the shortcode(s) into my theme directly using <?php echo 
   do_shortcode(“[example_shortcode]”); ?>, it doesn’t work! Is there a better way
   to implement the store locator into the theme?
 * Thanks!
 * [https://wordpress.org/plugins/wp-store-locator/](https://wordpress.org/plugins/wp-store-locator/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Tijmen Smit](https://wordpress.org/support/users/tijmensmit/)
 * (@tijmensmit)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/inputing-shortcode-into-theme/#post-6833122)
 * If you include [wpsl] in the page content trough the editor does it work then?
   It has to be some sort of theme issue. If I do this in a default WP theme, then
   it works fine.
 *     ```
       echo do_shortcode('[wpsl]');
       ```
   
 * You don’t see anything at all, or just a small part?

Viewing 1 replies (of 1 total)

The topic ‘Inputing Shortcode into Theme’ is closed to new replies.

 * ![](https://ps.w.org/wp-store-locator/assets/icon-256x256.jpg?rev=1007784)
 * [WP Store Locator](https://wordpress.org/plugins/wp-store-locator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-store-locator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-store-locator/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-store-locator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-store-locator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-store-locator/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Tijmen Smit](https://wordpress.org/support/users/tijmensmit/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/inputing-shortcode-into-theme/#post-6833122)
 * Status: not resolved