Show/Hide columns to logged in and logged out users
-
Hello,
First of all, thank you very much for this amazing plugin ! Very usefull, functional and fast !
I have a simple need, but it seems that it’s not (yet ?) available thanks to TablePress addons :
I need to show one particular column (example col number #8) to logged out users and to hide it from logged in users and to do the inverse, show another column (example col #9) to logged in users and to hide it from logged out users.
I have found this plugin “Hide Columns/Rows from logged-out users” available here :https://tablepress.org/extensions/hide-data-logged-out-users/
and implement this kind of shortcode which works :
[table id=1 hide_columns_logged_out=”8″ /]
But in fact what I need would be something like :
[table id=1 hide_columns_logged_out=”8″ hide_columns_logged_in=”9″ /]
Could someone provide me help to make evolve the plugin code or some other tips ?
Thank you very much ! (I’m not able to write code alone…).
R.
- The topic ‘Show/Hide columns to logged in and logged out users’ is closed to new replies.