Show list of pages user has access to
-
[ Moderator note: moved to How-to and Troubleshooting. ]
I want to create “dashboard” page that clients redirect to when they log in. On this page I included a [downloads] shortcode (from the Easy Digital Downloads plugin) which lists all digital items (in my case videos) that they can click on. On these digital items (which are pages), I added a plugin that only allows certain users to access the page (the client can only see the pages I give him access to). What I want to do is use the [downloads] shortcode but ONLY show the items they have access to. Right now, it shows all the pages and the ones they don’t have access to say “PRIVATE: ACCESS DENIED.” Is there a way to hide the ones that day this?
I don’t want to create a separate landing page for each client. I just want them to login and redirect to a page that lists all the pages they have access to and NOT the pages they don’t.
Here’s the dashboard…you can see there is one link that you have access to (because I made the access public) and the other two that say “PRIVATE” are only visible to certain users. I want the ones that say “PRIVATE” to NOT show up on this page.
https://crookedpathfilms.com/dashboard/
Suggestions?
- The topic ‘Show list of pages user has access to’ is closed to new replies.