Title: Filtering multiple tables
Last modified: May 30, 2018

---

# Filtering multiple tables

 *  Resolved [itLwork](https://wordpress.org/support/users/confussed/)
 * (@confussed)
 * [8 years ago](https://wordpress.org/support/topic/filtering-multiple-tables/)
 * Hi! Thanks for a great plugin!
    Iv’e been rummaging around the support page, 
   and I’ve found a lot of good info to make a great easy-to-filter food menu.
 * Question:
    How do I filter multiple tables with one search bar? If that is not
   possible, can I divide the table into categories,
 * I.e.:
    Pizza Soups Desert etc…
 * …and still be able to filter out the menu items and keep the categories?
 * What I’m aiming for is to be able to, for example search for “vegetarian” and
   display all vegetarian items in each category, with the categories still visible.
 * I.e.:
    “Pizza” -Vegetarian dish 1 -Vegetarian dish 2 “Soups” -Vegetarian dish
   3 “Desert” etc…
 * Any help with this would be greatly appreciated.
    Best regards!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffiltering-multiple-tables%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [8 years ago](https://wordpress.org/support/topic/filtering-multiple-tables/#post-10344243)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * Unfortunately, I’m not aware of an easy way to filter multiple tables at once.
   This would require custom JavaScript code.
 * Therefore, the category idea is better. For that, you can try the TablePress 
   Extension from [https://tablepress.org/extensions/datatables-rowgrouping/](https://tablepress.org/extensions/datatables-rowgrouping/)
   For some instructions, see [https://wordpress.org/support/topic/row-grouping/](https://wordpress.org/support/topic/row-grouping/)
 * Regards,
    Tobias
 *  Thread Starter [itLwork](https://wordpress.org/support/users/confussed/)
 * (@confussed)
 * [8 years ago](https://wordpress.org/support/topic/filtering-multiple-tables/#post-10344728)
 * Hi!
    It worked like a charm. Thanks for quick reply!
 * How would I change the background and text color of the categories?
    Is it possible
   to add a row of space above the categories for easier readability?
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [8 years ago](https://wordpress.org/support/topic/filtering-multiple-tables/#post-10345153)
 * Hi,
 * great! I recommend to use the following CSS code to change the color and add 
   spacing. Please add this to the “Custom CSS” textarea on the “Plugin Options”
   screen of TablePress:
 *     ```
       .tablepress-id-3 {
           border: none !important;
       }
       .tablepress-id-3 .group {
           background-color: #ff0000 !important;
           color: #ffffff;
           border-top: 30px solid #ffffff !important;
       }
       ```
   
 * Regards,
    Tobias
 *  Thread Starter [itLwork](https://wordpress.org/support/users/confussed/)
 * (@confussed)
 * [8 years ago](https://wordpress.org/support/topic/filtering-multiple-tables/#post-10346074)
 * Absolutely perfect!!
 * One last thing.
    Now it seems like my table header is pretty much redundant. 
   But if i remove it, the table seems to break. Is there a way to hide it?
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [8 years ago](https://wordpress.org/support/topic/filtering-multiple-tables/#post-10347007)
 * Hi,
 * indeed, you have to keep it for things to work, but you can hide it:
 *     ```
       .tablepress-id-3 thead {
         display: none;
       }
       ```
   
 * Regards,
    Tobias
 *  Thread Starter [itLwork](https://wordpress.org/support/users/confussed/)
 * (@confussed)
 * [8 years ago](https://wordpress.org/support/topic/filtering-multiple-tables/#post-10347044)
 * Works perfect! It looks absolutely perfect!
    Thank you so much for all your support!
 * Submitted top review.
    Best regards!
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [8 years ago](https://wordpress.org/support/topic/filtering-multiple-tables/#post-10347127)
 * Hi,
 * no problem, you are very welcome! 🙂 Good to hear that this helped!
 * Best wishes,
    Tobias

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

The topic ‘Filtering multiple tables’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

## Tags

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

 * 7 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/filtering-multiple-tables/#post-10347127)
 * Status: resolved