Title: Do_shortcode doesn&#039;t work
Last modified: August 30, 2016

---

# Do_shortcode doesn't work

 *  Resolved [terezava](https://wordpress.org/support/users/terezava/)
 * (@terezava)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/do_shortcode-doesnt-work/)
 * I am using tabby via do_shortcode() in custom post type template file, but it
   doesn’t work. Otherwise it works without problems – in the posts and pages. What
   could be a problem?
 * [https://wordpress.org/plugins/tabby-responsive-tabs/](https://wordpress.org/plugins/tabby-responsive-tabs/)

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

 *  Plugin Author [cubecolour](https://wordpress.org/support/users/numeeja/)
 * (@numeeja)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/do_shortcode-doesnt-work/#post-6599460)
 * Did you **echo** the `do_shortcode()`?
 *  Thread Starter [terezava](https://wordpress.org/support/users/terezava/)
 * (@terezava)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/do_shortcode-doesnt-work/#post-6599489)
 * Yes, of course:
 *     ```
       <?php
       echo do_shortcode('[tabby title="Tab1"]');
       ?>
       content
       <?php
       echo do_shortcode('[tabbyending]');
       ?>
       ```
   
 *  Plugin Author [cubecolour](https://wordpress.org/support/users/numeeja/)
 * (@numeeja)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/do_shortcode-doesnt-work/#post-6599517)
 * Please link to a page on your site where this should appear, and indicate where
   on the page you expect it to appear.
 *  Thread Starter [terezava](https://wordpress.org/support/users/terezava/)
 * (@terezava)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/do_shortcode-doesnt-work/#post-6599521)
 * E.g. at [http://lab.fmk.sk/profil/jan-visnovsky](http://lab.fmk.sk/profil/jan-visnovsky)
   
   It should appear like at [http://fmk.sk/profil/jan-visnovsky/](http://fmk.sk/profil/jan-visnovsky/)
 *  Plugin Author [cubecolour](https://wordpress.org/support/users/numeeja/)
 * (@numeeja)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/do_shortcode-doesnt-work/#post-6599533)
 * The issue appears to be that the javascript is not loading. This may be caused
   by another plugin or by the theme.
 * To troubleshoot, first deactivate all other plugins. If the javascript loads 
   and the the tabs appear then activate the plugins one by one to identify the 
   one causing the issue.
 * The theme you are using does not appear to be listed on WordPress.org theme directory,
   so I do not know whether it is coded to normal WordPress standards as it would
   not have been passed by the theme review team.
 * Troubleshooting the theme is not as easy as looking for a theme issue would normally
   be as you would need to emulate the code you have added to your template on the
   default twentyfifteen theme to check whether it works when your theme is taken
   out of the equation.
 *  Thread Starter [terezava](https://wordpress.org/support/users/terezava/)
 * (@terezava)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/do_shortcode-doesnt-work/#post-6599538)
 * Thanks for hint. I don’t understand that I didn’t notice. Footer (and all scripts)
   is missing 😀 Thanks again. I am going to fix it.
 *  Plugin Author [cubecolour](https://wordpress.org/support/users/numeeja/)
 * (@numeeja)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/do_shortcode-doesnt-work/#post-6599545)
 * If it is a theme issue, the first thing to check would be that your footer.php(
   or possibly another file depending on how the theme is built) correctly includes
   the mandatory [wp_footer()](https://codex.wordpress.org/Plugin_API/Action_Reference/wp_footer)
   hook.
 *  Thread Starter [terezava](https://wordpress.org/support/users/terezava/)
 * (@terezava)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/do_shortcode-doesnt-work/#post-6599546)
 * Fixed. Finally works. 🙂
 *  Plugin Author [cubecolour](https://wordpress.org/support/users/numeeja/)
 * (@numeeja)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/do_shortcode-doesnt-work/#post-6599555)
 * great! Feel free to leave a [review](https://wordpress.org/support/view/plugin-reviews/tabby-responsive-tabs)
   of the plugin if you are enjoying it.

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

The topic ‘Do_shortcode doesn't work’ is closed to new replies.

 * ![](https://ps.w.org/tabby-responsive-tabs/assets/icon-256x256.jpg?rev=2682041)
 * [Tabby Responsive Tabs](https://wordpress.org/plugins/tabby-responsive-tabs/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tabby-responsive-tabs/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tabby-responsive-tabs/)
 * [Active Topics](https://wordpress.org/support/plugin/tabby-responsive-tabs/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tabby-responsive-tabs/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tabby-responsive-tabs/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [cubecolour](https://wordpress.org/support/users/numeeja/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/do_shortcode-doesnt-work/#post-6599555)
 * Status: resolved