[wp-hackers] Hide admin page?
madalin
niladam at gmail.com
Tue May 19 17:02:21 GMT 2009
Thanks everyone for their replies!
On Tue, May 19, 2009 at 7:56 PM, Jeremy Clarke <jer at simianuprising.com> wrote:
> On Fri, May 15, 2009 at 8:46 PM, Bryan Harley <bryanharley at gmail.com> wrote:
>> I want to hide certain pages in the admin menu that I won't use for a
>> client's site. For example, hide "Posts."
>>
>> How can I accomplish this?
>
> Several good ideas already. Just for the sake of argument here are two more:
>
> 1 - If you add a file called admin.css to the active theme then it
> will be included in all admin pages. So if you're confident the site
> will have the same theme consistently installed (likely since it
> doesn't show posts!) you can add the CSS there. 10000% better than
> editing a core file (!!!) and easier than plugin code.
>
> 2 - If you want to remove the ability to edit posts entirely you could
> install the Role Manager plugin and remove the post-related
> capabilities from all the roles, thus making the links actually not
> show up rather than just being hidden. It would also let you/admins
> (any role you decide) still see the links in case you need to do some
> diagnostics or whatever, while hiding it from the mass of users (who
> you don't want to confuse).
>
> --
> Jeremy Clarke | http://simianuprising.com
> Code and Design | globalvoicesonline.org
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
--
Cu drag,
madalin
http://madalin.eu
http://lyrics.notme.org
http://www.tg-jiu.ro
http://www.radioomega.ro
More information about the wp-hackers
mailing list