Is it possible to move the ‘WP Show Posts’ admin menu to Settings menu? Or hide it from everyone but an admin with a particular ID? Can you please provide the code?
This will require you to edit the plugin’s code. We don’t recommend this as it may break the plugin.
The better approach would be to get a User role plugin to manage the access permissions/privileges of users on your site. This is good practice especially when you need to be a bit more precise with how much access users need. 🙂
Thanks Elvin, Can we move the menu to below settings menu?
I’m afraid not. It’ll require a significant amount of time in plugin development to check what may break if we do this change. Plus, its not practical.
I understand that you may be trying to add WPSP settings to the Settings.php so you could just disable Settings as a whole for some user roles.
You can just disable custom post type and specify the post type wp_show_posts. WPSP lists are posts under the custom post type wp_show_posts.
Thanks Elvin, I just used the Admin Menu Editor plugin by Janis Elsts to move all plugin menu links below Settings links. The plugin also allows me to hide the menus (visually).
Thanks Elvin, I just used the Admin Menu Editor plugin by Janis Elsts to move all plugin menu links below Settings links. The plugin also allows me to hide the menus (visually).
While that could work, there’s a catch.
The problem with that is if you’ve just hidden the page if the user still has permission, all the user has to do is to know the correct URL to be able to make changes.
Ideally, you’d want to strip them of permission. I’m not sure if the plugin you’ve mentioned does that.