This TablePress Extension allows to hiding configured columns and rows from logged-out or logged-in users. This can be useful e.g. on membership sites, where logged-in members should see more or other data than non-members.
For that, it offers the Shortcode parameters hide_columns_logged_out
, hide_columns_logged_in
, hide_rows_logged_out
, and hide_rows_logged_in
that each accept a comma-separated list of column numbers.
For example, the Shortcode
[table id=123 hide_columns_logged_out=3,6-9 /]
Code language: plaintext (plaintext)
will hide columns 3, 6, 7, 8, and 9 from visitors that are not logged-in. Logged-in visitors will however see these columns.
If this Extension is useful for you, please check out the available TablePress Premium features and consider getting a Premium license plan, which bring even more features for you and your site visitors. Thank you!