[Resolved] Move WP Show Posts Admin Menu

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Move WP Show Posts Admin Menu

Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #28516
    Vijay
    Participant

    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?

    #28530
    elvin
    Moderator

    Hi there,

    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. 🙂

    #28534
    Vijay
    Participant

    Thanks Elvin, Can we move the menu to below settings menu?

    #28550
    elvin
    Moderator

    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.

    #28588
    Vijay
    Participant

    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).

    #28644
    elvin
    Moderator

    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.

    But if it does, then that’s all sorted. 🙂

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.