Why H5P Content is visible to every user on wordpress website?
Submitted by harpreetmeets on Tue, 07/26/2022 - 14:39
Recently I have installed H5P plugin on my wordpress website but to be my surprice it is visible to every user logged in on my website.
Why H5P Content is visible to every user on wordpress website? How can I hide this from non-admin users?
Tue, 07/26/2022 - 19:02
Hi,I'm not sure what you mean
I'm not sure what you mean? Wouldn't you want visitors of your site to be able to see the contents? Or are you pertaining to logged in users have the capability of editing/creating contents?
Wed, 07/27/2022 - 06:53
Why H5P Content is visible to every user on wordpress website
I have started using H5P on my website where we are teaching. When some user logged into the system, all the H5P content is visible. Suppose I am creating H5P and I want to include that in the course but H5P content listing (from backend) is visible to users. It should be only visible to the administrator, or in other words wp-admin's left panel.
Wed, 07/27/2022 - 13:31
Hi harpreetmeets!You will
You will have to change the user role's capabilities.
H5P supports the user role management system of WordPress that many don't know about, because by default, WordPress doesn't ship with a user role editor. That's probably because of Wordpress' heritage as a blogging platform used by just one person. You will need to install one of the many user role manager plugins (e.g. User Role Editor that I use myself).
With one of these plugins, you can define what a user in what role should be allowed to do. What you're looking for is to deactivate the "view_h5p_contents" and the "view_others_h5p_contents" capability for the role that your users are logged in with.
Thu, 07/28/2022 - 06:24
Thank you for your assistance @Oliver
I have done this and it solved the purpose.
Thank you again.
Thu, 07/28/2022 - 10:38
Hi Harpreet!You're welcome
Mon, 05/29/2023 - 04:59
Why H5P Content is not visible on wordpress website?
Recently I have installed H5P plugin on my wordpress website but to be my surprice it is not visible to every user logged in on my website.
Why H5P Content is not visible to every user on wordpress website?