Title: TablePress within a tab
Last modified: August 21, 2016

---

# TablePress within a tab

 *  Resolved [Ken Gagne](https://wordpress.org/support/users/kgagne/)
 * (@kgagne)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/tablepress-within-a-tab/)
 * Hello,
 * Great plugin! But is it compatible with [TablePress](https://wordpress.org/plugins/tablepress/)?
   I would like to include a table within one of the tabs, but when I try, the tabby
   shortcodes seem to be ignored — all my content appears as one long page.
 * -Ken
 * [https://wordpress.org/plugins/tabby-responsive-tabs/](https://wordpress.org/plugins/tabby-responsive-tabs/)

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

 *  Plugin Author [cubecolour](https://wordpress.org/support/users/numeeja/)
 * (@numeeja)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/tablepress-within-a-tab/#post-5050899)
 * I’m not aware of any incompatibility. I have just successfully set up a tablepress
   table within a tab on one of my test sites with no problems.
 * Please link to a page showing the issue on your site.
 *  Thread Starter [Ken Gagne](https://wordpress.org/support/users/kgagne/)
 * (@kgagne)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/tablepress-within-a-tab/#post-5050982)
 * Hi,
 * Here’s a proof of concept. It’s not ready for production, so the password is “
   tabby”.
 * [https://juiced.gs/tabbed/](https://juiced.gs/tabbed/)
 * Here’s what the content looks like in the WordPress post editor:
 *     ```
       [singlepic id=246 w=318 h=412 float=center]
   
       [tabby title="Issue Links"]
   
       various content goes here
   
       [tabby title="Index"]
   
       [table id=2 datatables_tabletools=true filter="V19I2" hide_columns="1-3" column_widths="7%|15%|15%|15%|48%" /]
   
       [tabbyending]
       ```
   
 * I’ve tried making the table the first tab, but the results are the same. I also
   tried replacing the table with more typical HTML content, just to make sure the
   tab plugin was working, and it worked fine.
 * -Ken
 *  [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/tablepress-within-a-tab/#post-5050985)
 * Hi Ken,
 * from what I can see, the reason for this is that something on this page (maybe
   the theme or another plugin) is evaluating the [table] Shortcode twice.
    That
   leads to a JS error. Could you therefore please try again after turning off the
   usage of the DataTables JS library on the “Edit” screen of the table?
 * Regards,
    Tobias
 *  Thread Starter [Ken Gagne](https://wordpress.org/support/users/kgagne/)
 * (@kgagne)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/tablepress-within-a-tab/#post-5050988)
 * O hai, Tobias!
 * Disabling the DataTables option on the table itself did work! The downside is
   that the untabbed master index on a different page has lost its sorting functions:
 * [https://juiced.gs/index/](https://juiced.gs/index/)
 * As an alternative solution to the original problem, I tried turning the DataTables
   option back on and removed the “datatables_tabletools=true” parameter in the 
   shortcode, thinking that might’ve been what was causing the tools to be loaded
   twice — but that didn’t fix the tabbing issue.
 * You suggested it might be a theme or plugin conflict. So I re-enabled DataTables
   on the table page and deactivated all plugins (except TablePress and Tabby) and
   switched to to the Twenty Fourteen theme. The problem persisted, unfortunately.
 * -Ken
 *  [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/tablepress-within-a-tab/#post-5050989)
 * Hi Ken,
 * ok, it might then be possible that Tabby is also evaluating the Shortcodes. Maybe
   cubecolour can shed some light on this?
 * Deactivating the DataTables JS library via the “Edit” screen won’t work if you
   need it on another page.
    Therefore, please try deactivating via the Shortcode,
   i.e. change
 *     ```
       [table id=2 datatables_tabletools=true filter="V19I2" hide_columns="1-3" column_widths="7%|15%|15%|15%|48%" /]
       ```
   
 * to
 *     ```
       [table id=2 use_datatables=false filter="V19I2" hide_columns="1-3" column_widths="7%|15%|15%|15%|48%" /]
       ```
   
 * Regards,
    Tobias
 *  Thread Starter [Ken Gagne](https://wordpress.org/support/users/kgagne/)
 * (@kgagne)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/tablepress-within-a-tab/#post-5050994)
 * Tobias,
 * I’ve re-enabled DataTables on the table itself and have disabled it on the tabbed
   page using `use_datatables=false`, per your suggestion. This now seems to be 
   working: the table shows up tabbed (but unsortable), and I have a sortable main
   table on a separate page.
 * Works for me! Thanks!
 * -Ken
 *  Plugin Author [cubecolour](https://wordpress.org/support/users/numeeja/)
 * (@numeeja)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/tablepress-within-a-tab/#post-5050998)
 * Apart from its own [tabby] & [tabbyending] shortcodes Tabby Responsive Tabs shouldn’t
   touch any others on the page.
 *  [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/tablepress-within-a-tab/#post-5051002)
 * Hi,
 * thanks for checking, cubecolour!
    Not sure what’s happening here then… Good to
   see that you are happy though, Ken 🙂
 * Best wishes,
    Tobias
 *  Thread Starter [Ken Gagne](https://wordpress.org/support/users/kgagne/)
 * (@kgagne)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/tablepress-within-a-tab/#post-5051004)
 * Thanks, both, for your swift help!
 *  Plugin Author [cubecolour](https://wordpress.org/support/users/numeeja/)
 * (@numeeja)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/tablepress-within-a-tab/#post-5051007)
 * Its a bit of a strange one. As you seem to have a workaround I’ll set this as
   resolved.
 * Tobias, thanks for helping Ken with this.
 *  [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/tablepress-within-a-tab/#post-5051010)
 * Hi,
 * yes, unless we can come up with a possible reason, this can be marked as resolved.
 * Best wishes,
    Tobias
 *  [Bartalbertje](https://wordpress.org/support/users/bartalbertje/)
 * (@bartalbertje)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/tablepress-within-a-tab/#post-5051201)
 * Hi, I experience the same problem with Tabby in combination with Tablepress.
 * Without TablePress Extension: DataTables ColumnFilterWidgets and/or Row Filtering
   Tabby works fine. But when one of these extensions is activated. Tabby (most 
   of the tiimes) does not work anymore.
 * You can view an example here [http://www.leidenamateurvoetbal.nl/statistieken-lugdunum/](http://www.leidenamateurvoetbal.nl/statistieken-lugdunum/)
 * The strange thing is that in some cases it does work: [http://www.leidenamateurvoetbal.nl/statistieken-sjz/](http://www.leidenamateurvoetbal.nl/statistieken-sjz/)
 * Any ideas?
 *  [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/tablepress-within-a-tab/#post-5051202)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * From what I can see, the reason for this is that table 65 has only one row. That
   will not work, because it doesn’t have a header row then. You can only do all
   of this with tables that have a header row and at least one content row.
 * Regards,
    Tobias
 *  [Bartalbertje](https://wordpress.org/support/users/bartalbertje/)
 * (@bartalbertje)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/tablepress-within-a-tab/#post-5051203)
 * Hi Tobias,
 * checked it out and added a few rows. This indeed solved the issue.
 * When the filter is activated it must find a row for the search string otherwise
   it produces an error.
 * Got it!
 * Thanks again.
 * Bart
 *  [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/tablepress-within-a-tab/#post-5051204)
 * Hi Bart,
 * correct. If the filter does not return a result, the table would not have a body
   row, and then the JS library fails.
    Good to hear that you were able to solve
   this!
 * Best wishes,
    Tobias
 * P.S.: In case you haven’t, please [rate TablePress](https://wordpress.org/support/view/plugin-reviews/tablepress)
   here in the plugin directory. Thanks!

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

The topic ‘TablePress within a tab’ 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

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

 * 15 replies
 * 4 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/tablepress-within-a-tab/#post-5051204)
 * Status: resolved