Welcome to Dagon Design. In addition to free scripts, WordPress plugins, and articles, we offer a variety of services including custom theme design, plugin creation, and PHP scripting. Contact me for more information.

Version 1.1   Updated Monday, July 6th, 2009 at 7:19pm

Hide Admin Panel from Subscribers Plugin for WordPress

This plugin prevents subscribers from viewing the WordPress admin panel located at /wp-admin/. They are instead shown a custom message that you specify, as well as an optional logout link. You can use HTML tags and CSS in your message to style it any way you choose. Logged in users who have more access than subscribers are shown the standard admin panel.


  If you have found this page useful, please consider donating. Thanks!

Change Log

  • 07-09-09 Version 1.1 – Fixed issue with logging out on newer WP versions. Fixed output of custom messages with the stripslashes function.
  • 08-20-08 Version 1.0 – First release.


  • Download the above file, rename it from .txt to .php, and upload it to your plugins directory.
  • Enable the plugin.
  • View the plugin’s options page (under Settings -> DDHideAdmin) to configure your message.


If you would like to provide a logout link on the page, simply place the word LOGOUT where you would like it to appear (this keyword is case-sensitive) and the link will be generated.

Pages: [8] 7 6 5 4 3 2 1 » Show All

  1. Thanks to share man… Will bookmark it :)

  2. ?? ?????????? ??????!! ??? ??????????. ???????.

  3. Its an Good version but tell me the version here mentioned i cant see here any this type of info for more info visit my site also

  4. as well as an optional logout link.

  5. is there a wp 3.4+ version of this? thanks.

  6. Nike hats at ShopStyle. Shop popular brands and stores to find nike hats on sale – all in one place. Create and share looks based on all your favorite styles.

  7. Adidas isn’t going to be able to count on http://www.cheapjeremyscottsale.com/ to hype his signature sneaker for most of the 2012-13 NBA season. In fact, they may not be able to count on him at all next season, as he’s going to spend the majority of it recovering from the ACL surgery that he had last spring. And, there’s a good chance he might not return at all next year if the Chicago Bulls don’t get off to a good start. So, he’s not really going to get the chance to promote his adidas adiZero Rose 3.0 properly. Or, is he?

  8. An authentic Herve leger UK handbag will have a serial

  9. dre bass experience united with clear and impressive trebles, allowing these earphones being the perfect partner for you portable music player.represent the greatest and producing The

Pages: [8] 7 6 5 4 3 2 1 » Show All

Leave a Comment

Before you comment: If you are having an issue with a script, please make sure you have read the entire article. Also, please read through the comments because most common issues have already been discussed many times. Thanks.

Be sure to wrap all code in <code></code> tags.