I need to limit the access of subscriber to only the profile page. As it is by default they are able to access the Dashboard(index.php) and Profile(profile.php). Though I only want them to see Profile Page. And maybe a Tab next to it that takes them back to homepage for the website. I dont want them to see the index.php.
I know this is possible. I am looking for it as well.
By subscriber I mean user registered as Role Subscriber
However editing the menu.php to following, does hide the dashboard link from the subscriber, however I dont want then to see the index page at all.
//$menu = array(__(‘Dashboard’), ‘read’, ‘index.php’);
$menu = array(__(‘Dashboard’), ‘read’, ‘index.php’);
While just putting this code, I think I can add something like
$menu = array(__(‘Homepage’), ‘read’, ‘mysiteurl’);
Let me try that. [Edit : This Works]
However I am still thinking on how to stop access to index.php from subscriber.
- The topic ‘Set Subscriber Access To Profile Page Only’ is closed to new replies.