Can you remove WP admin pages / options?

8 replies
  • WEB DESIGN
  • |
Hello
This is my first thread so please be patient :-)
Is there a way in WordPress or an external program that will remove options in the admin section ? I know that you can set privileges by admin level to be able to edit or not edit posts / pages etc. ... I want to be able to remove the themes page and the plugins section from the website owner and if possible keep them available to my eyes only.
Is there admin themes or modifications that can do this ?
I hope i made myself clear and haven't confused anyone ! :confused:
your help would be greatly appreciated
#admin #options #pages #remove
  • Profile picture of the author sg
    Originally Posted by ian buckingham View Post

    Hello
    This is my first thread so please be patient :-)
    Is there a way in WordPress or an external program that will remove options in the admin section ? I know that you can set privileges by admin level to be able to edit or not edit posts / pages etc. ... I want to be able to remove the themes page and the plugins section from the website owner and if possible keep them available to my eyes only.
    Is there admin themes or modifications that can do this ?
    I hope i made myself clear and haven't confused anyone ! :confused:
    your help would be greatly appreciated
    After reading this thread, I decided to do a quick search on Google for what you're looking for. Although this was posted a bit over a year ago, the CSS techniques remain the same and I think this should help you achieve your goal.

    I don't have enough posts yet to be able to post links, but check out this URL:
    strangework.com/2010/03/24/how-to-hide-an-admin-menu-in-wordpress/
    {{ DiscussionBoard.errors[4530004].message }}
    • Profile picture of the author ian buckingham
      Originally Posted by sg View Post

      After reading this thread, I decided to do a quick search on Google
      I don't have enough posts yet to be able to post links, but check out this URL:
      strangework.com/2010/03/24/how-to-hide-an-admin-menu-in-wordpress/
      SG thank you man i don't know why but i just could'nt find that on google haha
      much appreciated mate
      looks straight forward enough ill try it in the morning :-)
      {{ DiscussionBoard.errors[4530024].message }}
      • Profile picture of the author sg
        Originally Posted by ian buckingham View Post

        SG thank you man i don't know why but i just could'nt find that on google haha
        much appreciated mate
        looks straight forward enough ill try it in the morning :-)
        No problem at all.

        The main line you want to pay attention to is the #menu-plugins style. Whenever you want to hide a specific menu (ie: the 'themes' menu), you'd just change it to #menu-themes (or whatever the associated CSS is with that particular menu, I didn't look it up) and include the same display:none style.

        Hope that helps!
        {{ DiscussionBoard.errors[4530030].message }}
      • Profile picture of the author ian buckingham
        i see there is a heafty plugin called adminize on that link too if you look through the comments :-)
        cool just what i needed unless anyone else has any other solutions we can all share for a while :-)
        {{ DiscussionBoard.errors[4530043].message }}
        • Profile picture of the author sg
          Originally Posted by ian buckingham View Post

          i see there is a heafty plugin called adminize on that link too if you look through the comments :-)
          cool just what i needed unless anyone else has any other solutions we can all share for a while :-)
          I was also looking through the comments and found other solutions available as well. Although I don't have any experience with them, I can't imagine it would hurt anything to give it a try!

          Be sure to create a backup of your files prior to doing so to ensure you don't lose any data! This includes your files and database, as installing plugins will modify the database.
          {{ DiscussionBoard.errors[4530049].message }}
  • Profile picture of the author stephaniek
    Hi Ian,

    Cheers for firsts, this is my first post here.

    Fortunately Wordpress already has this function in the levels. If you set the owners account down from Administrator and make it Editor, they will be able to log in to the backend and add/edits posts and pages and approve and trash comments, but they will not be able to see the Appearance section or Plugins.

    Same with Author, but they can only add and edit Posts, not pages and I don't think they can do comments either.
    Signature

    Woman: How much do I owe you for the sketch?
    Picasso: 5000 francs.
    Woman: But it only took you 5 minutes!
    Picasso: No madam, it took me all my life.

    {{ DiscussionBoard.errors[4530047].message }}
  • Profile picture of the author stephaniek
    Are you needing to hide any menus besides Plugins and Appearance (which has the themes)?

    If not, then there's no need for extra code or plugin since the Editor level disables them. But it is still handy to know you can hide other menus as well, thanks sg!
    Signature

    Woman: How much do I owe you for the sketch?
    Picasso: 5000 francs.
    Woman: But it only took you 5 minutes!
    Picasso: No madam, it took me all my life.

    {{ DiscussionBoard.errors[4530096].message }}
  • Profile picture of the author ian buckingham
    Yup as i said in the original post I want to hide entire pages so that the menus are unavailable I would like the themes and appearance pages to just disappear !
    i don't mind coding that its a simple function to paste in now all i have to do is find the specific code i guess :-) though looking at the other pieces of code its pretty much call it what it is and paste in a standard NO!!!!
    yup thanks SG i will backup my database also :-) kudos to you both and welcome stephaniek :-)
    {{ DiscussionBoard.errors[4532759].message }}

Trending Topics