Title: hide_rows / show_rows problem
Last modified: August 20, 2016

---

# hide_rows / show_rows problem

 *  Resolved [racingdb](https://wordpress.org/support/users/racingdb/)
 * (@racingdb)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/hide_rows-show_rows-problem/)
 * Hi Tobias,
 * I’m sorry to trouble you, but for the last couple of days I’ve been banging my
   head against a wall trying to figure out this problem. I’m sure I’ve read through
   all of the documentation and support questions on here, but I still can’t figure
   it out.
 * Please see…
 * [http://racingdatabase.com/a-horse-to-follow/](http://racingdatabase.com/a-horse-to-follow/)
 * To pull in the table at the bottom, the one with the bookmaker info, I’m using
   this code…
 * ‘<?php tablepress_print_table( “id=1&use_tablesorter=false&print_name=false&hide_rows
   =7,8,9,10,11,12,13,14,15,16&show_rows=1,2,3,4,5,6” ); ?>’
 * …but it just shows the full table.
 * I’ve tried using a similar thing with shortcodes too, but the problem is the 
   same.
 * Do you have any idea why this isn’t working?
 * Many thanks,
 * Paul
 * [http://wordpress.org/extend/plugins/tablepress/](http://wordpress.org/extend/plugins/tablepress/)

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/hide_rows-show_rows-problem/#post-3331957)
 * Hi Paul,
 * that’s strange.
 * What are the visibility settings of the rows on the table’s “Edit” screen? They
   should be visible (i.e. not red) there.
 * Then I suggest that we first try to make this work in a Shortcode. A shorter 
   version of what you are trying to achieve would be
 *     ```
       [table id=1 hide_rows=7-16 /]
       ```
   
 * The `use_tablesorter` parameter is useless anyway, because it doesn’t exist (
   there was a typo in the documentation here, sorry about that). Also, we don’t
   need the `show_rows`, as showing those rows is the default (if the rows are not
   hidden/red on the “Edit” screen). And finally, we can shorten the `hide_rows`
   parameter a little bit.
 * So, please try using that Shortcode somewhere, to see if that works.
 * Thanks!
    Tobias
 *  Thread Starter [racingdb](https://wordpress.org/support/users/racingdb/)
 * (@racingdb)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/hide_rows-show_rows-problem/#post-3331959)
 * Hi Tobias,
 * Thanks for your fast reply. Your support is excellent. I was using your previous
   plugin on another site before and I always thought you really stepped up there
   too when it came to support queries. So high five! 🙂
 * I just tried it again, using the shortcode instead, and that isn’t working either.
 * I haven’t changed any of visibility settings, so it’s pretty much the default
   install.
 * I actually only need to have two versions of the same table, one with more rows
   than the other, so it’s not a massive problem either way, but I thought you should
   know about it. I can easily just duplicate the table and delete the rows I don’t
   want. It would be easier just to have one table and pull the data I want from
   it though 🙂
 * Any ideas? If you’d like to take a look I’ll send you the info.
 * Sorry for being a pain in the bum!
 * Paul
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/hide_rows-show_rows-problem/#post-3331960)
 * Hi Paul,
 * no problem, you are welcome for the fast reply 🙂
 * Yes, as even the Shortcode parameter is not working, I’d really like to take 
   a direct look.
    Please send me the info via email (the address is in the main
   plugin file tablepress.php).
 * Thanks,
    Tobias
 *  Thread Starter [racingdb](https://wordpress.org/support/users/racingdb/)
 * (@racingdb)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/hide_rows-show_rows-problem/#post-3331961)
 * I just emailed you Tobias.
 * Thank you so much for this and for developing such a rocking plugin too.
 * I know my way around WP okay and don’t often have to ask for help with much at
   all. I actually had to register here today just to post this! But my old brain
   has become frazzled with trying to figure this out over the last couple of days!
   Sorry!
 * Paul
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/hide_rows-show_rows-problem/#post-3331964)
 * Hi Paul,
 * I haven’t received an email so far, and also checked my spam folders. Can you
   maybe send it again and check the address?
 * And don’t worry about asking for support! That’s why there’s a community around
   WP 🙂
 * Regards,
    Tobias
 *  Thread Starter [racingdb](https://wordpress.org/support/users/racingdb/)
 * (@racingdb)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/hide_rows-show_rows-problem/#post-3331965)
 * Hi Tobias,
 * I just forward the original on to you.
 * I’m sending it through Gmail, which should be okay, and to your tobias.baethge
   address. Hope this is correct.
 * ~ Paul
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/hide_rows-show_rows-problem/#post-3331967)
 * Hi Paul,
 * yes, thanks. Now I received the email.
    I will take a look shortly.
 * Regards,
    Tobias
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/hide_rows-show_rows-problem/#post-3331969)
 * Hi,
 * just for everybody following this thread:
 * After working on this directly on Paul’s site, we found that TablePress is using
   a PHP function with an argument that is not available in all PHP versions that
   are supported by WordPress.
    (In detail: WordPress supports PHP 5.2.4 and newer,
   but TablePress was using a functoin argument that only exists since PHP 5.2.9.
   When then used on PHP versions lower than that, this resulted in the described
   problem.) Fortunately, the fix was easy and will be included in the next TablePress
   version.
 * Thanks to Paul for reporting this bug and letting me investigate it on his site!
 * Regards,
    Tobias
 *  Thread Starter [racingdb](https://wordpress.org/support/users/racingdb/)
 * (@racingdb)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/hide_rows-show_rows-problem/#post-3331983)
 * Hi Tobias,
 * Thanks very much for doing that yesterday. I tried everything, but it was still
   at the back of my mind that I was probably doing something silly 🙂
 * The site looks great now…
 * [http://racingdatabase.com/adios-amigo/](http://racingdatabase.com/adios-amigo/)
 * I’m going to have to play around with your amazing plugin this week again, because
   I’ve got some new ideas on how to use it now too. I saw that you’re using it 
   for baseball stats etc. and our site is about horse racing, so I could use it
   in a similar way for results and so on.
 * Thank you again for taking the time to do that, especially on a Saturday!
 * ~ Paul
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/hide_rows-show_rows-problem/#post-3331986)
 * Hi Paul,
 * no problem, you are very welcome! 🙂
 * Have fun with the plugin, and don’t forget to rate it here in the plugin directory
   if you like it. Thanks!
 * Best wishes,
    Tobias
 *  Thread Starter [racingdb](https://wordpress.org/support/users/racingdb/)
 * (@racingdb)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/hide_rows-show_rows-problem/#post-3331990)
 * I just rated it Tobias and I sent you the last 10 bucks I had in my PayPal account
   too. It’s not a lot, I know, but you should be able to buy yourself a beer or
   two 🙂
 * Thanks again,
 * ~ Paul
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/hide_rows-show_rows-problem/#post-3331991)
 * Hi Paul,
 * I just saw that 🙂 Thank you very much, that’s really very nice!
 * Best wishes,
    Tobias

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

The topic ‘hide_rows / show_rows problem’ 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/)

 * 12 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/hide_rows-show_rows-problem/#post-3331991)
 * Status: resolved