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.

    There is a TablePress Extension that can hide rows based on whether a user is logged in or not, but not directly depending on the user’s role:
    https://tablepress.org/extensions/hide-data-logged-out-users/
    After installing and activating that as a plugin, you can use a Shortcode like

    [table id=123 hide_rows_logged_out=2,5 hide_columns_logged_out=1,5 /]
    

    to hide data from logged-out users.
    You could maybe use this as a starting point for some custom programming, with added checks for the user role.

    Regards,
    Tobias

    Thread Starter midnightroses

    (@midnightroses)

    Hi, thank you for the hints. I’ll definitely will give this a go!

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ?? Good to hear that this helped!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hide Row’ is closed to new replies.