Title: Tabs without shortcodes
Last modified: August 22, 2016

---

# Tabs without shortcodes

 *  Resolved [Jon](https://wordpress.org/support/users/jonogborne/)
 * (@jonogborne)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/tabs-without-shortcodes/)
 * Hi,
 * Is there a way of adding direct php to a page to display the tabs rather than
   using the shortcode? Your help and advice would be much appreciated.
 * Kind Regards
 * [https://wordpress.org/plugins/tabby-responsive-tabs/](https://wordpress.org/plugins/tabby-responsive-tabs/)

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

 *  Plugin Author [cubecolour](https://wordpress.org/support/users/numeeja/)
 * (@numeeja)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/tabs-without-shortcodes/#post-5496807)
 * I’m not sure what you’re trying to achieve. You can’t add PHP to a directly to
   WordPress page content in the visual editor or the text editor so that wouldn’t
   work, but maybe you’ve not used the correct terminology in your question.
 * If you mean that you want to add the tabs to a template rather than the content,
   this is possible, but the best way is to use the shortcodes – these can be included
   in your php code using using the do_shortcode function.
 * example:
 *     ```
       <?php
   
       do_shortcode("[tabby title='First Tab']");
   
       // Functions to add the content of the first tab go here
   
       do_shortcode("[tabby title='Second Tab']");
   
       // Functions to add the content of the second tab go here
   
       do_shortcode("[tabby title='Third Tab']");
   
       // Functions to add the content of the third tab go here
   
       do_shortcode("[tabbyending]");
   
       ?>
       ```
   
 *  [shermano](https://wordpress.org/support/users/shermano/)
 * (@shermano)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/tabs-without-shortcodes/#post-5497093)
 * Hi all,
    I have a similar question. I would like to place a shortcode inside 
   of tabby but it seems it is not possible. Example:
 * > [tabby title=”Spiele”]
   > [php snippet=1]
   > [tabbyending]
 * Regards for any hint
 *  Plugin Author [cubecolour](https://wordpress.org/support/users/numeeja/)
 * (@numeeja)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/tabs-without-shortcodes/#post-5497094)
 * This doesn’t have anything to do with the subject of this resolved topic which
   is about using Tabs without shortcodes and the answer.
 * Please start a new topic for this unrelated question and give as much detail 
   about what you are trying to achieve including what you have tried already, what
   you expected to happen and what did happen, plus an open link to the page on 
   your site showing what is happening.

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

The topic ‘Tabs without shortcodes’ 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/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 3 replies
 * 3 participants
 * Last reply from: [cubecolour](https://wordpress.org/support/users/numeeja/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/tabs-without-shortcodes/#post-5497094)
 * Status: resolved