Hi,
I'm having an issue. I've made custom user role - organization and they can register and edit own user data. I've made a custom post type and fields that they can fill and submit for an organization profile(this is the custom post type).
However now, the users can login to the backend of the website and they shouldm't have access to it.
How do i make them behave like in a online shop - they make an account, where they can access and edit their data and do not see the backend of the website, but still produce their profile with my post form?
However, you will have to use the Toolset Access plugin in order to specify the permissions for post types who should able to access and what capabilities the user should have:
- https://toolset.com/course-lesson/setting-access-control/
I followed the lessons and still i had an issue.
I figured it out - when i accessed the user's profile trough admin panel, there was a checkbox:
"Toolbar > Show Toolbar when viewing site". Once I turned it off, the access to the website stopped.
Is this a functionality of wp or can this be checked off by default when making users per role?
I'm not sure how exactly you created the custom role. The custom role you should create with Toolset Access and add new role and use copy from "Subscriber" to copy subscriber capabilites.