I am trying to create a logged in-section for a wordpress site. I am trying to do this in the form of a plugin to be able to reuse it easily for another site.

The idea is to create a new user role ("reseller") that can log-in and have access to a custom dashboard where they can manage list orders, change some settings and similar things. They will have no access to the default wordpress admin dashboard.

So far I have created a plugin that, when activated, adds the user role and limits access to the wp-admin for those users. But I cant quite decide how to create the dashboard pages that they should have access to.

What is the best way to do that? Preferably I would like to do it from within the plugin.

  • Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer.
    – Community Bot
    Sep 29 '21 at 20:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.