• Resolved haskonashi

    (@haskonashi)


    Im trying to use the show_rows attribute, but it has no effect on any table. I use it like this.
    [table id=2 hide_columns=1 show_rows=2 /]
    The hide_columns=1 attribute does work.

    · Website: https://192.168.178.28/wp_waedeDevSurface
    · TablePress: 1.9
    · TablePress (DB): 36
    · TablePress table scheme: 3
    · Plugin installed: 2018/05/27 13:34:17
    · WordPress: 4.9.6
    · Multisite: no
    · PHP: 7.2.5
    · mysqli Extension: true
    · mySQL (Server): 5.5.5-10.1.32-MariaDB
    · mySQL (Client): mysqlnd 5.0.12-dev – 20150407 – $Id: 38fea24f2847fa7519001be390c98ae0acafe387 $
    · ZIP support: yes
    · UTF-8 conversion: yes
    · WP Memory Limit: 64M
    · Server Memory Limit: 256M
    · Magic Quotes: off
    · WP_DEBUG: true
    · WP_POST_REVISIONS: true

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    The show_rows parameter works in addition to the normal settings on the table’s “Edit” screen. If all rows are marked as visible there, nothing will change. Therefore, you’ll have to hide everything first:

    [table id=2 hide_columns=1 hide_rows=all show_rows=2 /]
    

    Regards,
    Tobias

    Thread Starter haskonashi

    (@haskonashi)

    Hi,

    thank you very much. I even tried to debug your code to find out what I was missing, but I got stuck setting up eclipse pdt with an appropriate php server. What do you use to develop plugins for wordpress?

    Again, thanks.

    Kind Regards
    Hannes

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi Hannes,

    good to hear that this is working ??

    I’m using Vagrant (https://www.vagrantup.com/) and VVV (https://varyingvagrantvagrants.org/).

    Best wishes,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Attribute show_rows does not work’ is closed to new replies.