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.

Download

  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.

Installing

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

Notes

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.

  1. Shop popular brands and stores to find nike hats on sale – all in one place. oticed on the latest version of Wordpress that the new theme has the admin panel login displayed in the sidebar.
    Thanks for sharing guys

  2. Ah well your comment! I did you good!fgbsee

  3. 83
    Dave

    Great Article. <a rel="dofollow" href="http://www.fourgltephones.com/">4G LTE Phones</a>

  4. I know, you know, we all know that website marketing is a very important topic today, who mastered it, anyone can survive

  5. so what???tell me a good way..thanks.

  6. thank for plugin “Hide Admin Panel”. I like its.

  7. When I activate this plug-in it logs me out as well! How do I get back to the dashboard?!

  8. very nie for you.
    hey.

  9. ?the pier at Gulfport precisely where riggings of shrimp boats are loose stitches

  10. Thanks for the article, I’ll think about what you mentioned in it. It’ an interesting point of vie

  11. Some nice info at the time, but not knowing too much does it still apply today?

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

  13. If I can add more comments here?

  14. find deep load

  15. Thanks for this detailed tut, your generosity is so appreciated! Can’t wait to go over it in detail and try it for myself! Professional looks which i expected.

    Thanks for sharing guys

  16. Researchers recently gathered in Goteborg, Moncler Giubbotti Sweden, planning the slaughter of livestock can not get meat approach. Over the past 10 years scientists have been studying meat painless method, but later appeared in several false dawn, did not change an indisputable fact. Gothenburg, Chalmers University of Technology Julie – Gould said: “No one has yet to produce in vitro meat.” She was responsible for organizing the meeting. University of Maastricht, the Netherlands, according to Mark – Poster said that the first lab-grown out of the sausage may become a reality within six months, he was the main pioneer of this Moncler Giacche technology and loyal supporters. Poster has been tested using pig cells, recently found in a laboratory environment to cultivate muscle tissue method. And he has cultivated a similar muscle meat, each of length 2.5 cm, width 0.7 cm

  17. nngf Nice hosting! It’s my first time to read like this article. 
    .	
    

  18. Thanks so much for sharing your wealth of information. 10x for sharing this info with us

  19. This is a wonderful site!

  20. Noticed on the latest version of Wordpress that the new theme has the admin panel login displayed in the sidebar

  21. Thanks so much for sharing your wealth of information. I just started in this and I’m getting to know it better! Many thanks for all of your hard work!

  22. Thank you so very much for taking the time to share…very useful, indeed!tyy

  23. Thanks for a nice share you have given to us with such an large collection of information ffdffd

  24. Didn’t knew they can see it!

  25. 10x for sharing this info with us, but I think that the people who use wordpress are not very intersted about security.

  26. Thanks for sharing! Fantastic article, I’m glad to have been able to find this. The community seems to responsive.

  27. The article is very helpful and very clear indeed,thanks also for the informations and the explination.

  28. This is a good plugin, i mean you can have some problems with your site or blog if all users see the admin panel.

  29. Very nice article. Very useful.
    Thank you!

  30. I visited this page first time and found it Very Good Job of acknowledgment and a marvelous source of info………Thanks Admin!

  31. Thanks for the advice, much appreciated.

  32. There are four difficulty levels and a good deal of customizable options that allow you to dress up (or down) your rock star avatar, and the game allows you play both bass and guitar. Cellulitter

  33. Who are you replying to ONM?

  34. please read through the comments because most common issues have already been discussed many times. Thanks.

  35. I think it’s a very interesting story. Thanks for the good cheer I write about it this goes great.

  36. These are really great plugins. Thanks again for the awesome WP stuff

  37. The most expensive shirt you want it? Please see here—- cheap nfl jerseys If you like jerseys, please contact us!

  38. please read through the comments because most common issues have already been discussed many times. Thanks.
    engineering management master

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

  40. when it comes to quality. I have been using ABC for the last 3 years it never disappointed me. Does anybody know when the new version is coming out

  41. Very informative post.
    Many thanks for sharing.

  42. Thanks so much! Great plugin.
    drm removal tool, remove drm protection

  43. Hello, What a great plugin! I am using it on both of my blog. Thanks!

  44. Thanks that this is better , especially when it comes to quality. I have been using ABC for the last 3 years it never disappointed me. Does anybody know when the new version is coming out

  45. 41
    person_guyz

    I agree that this is better , especially when it comes to quality. I have been using ABC for the last 3 years it never disappointed me. Does anybody know when the new version is coming out?
    business bachelors

  46. Wow. nice tool. This is better I can hide WP admin panel

  47. Thanks for the new tips and plug-in

  48. Thanks for the plug-in. It does help me a lot

  49. I agree that this is better , especially when it comes to quality. I have been using ABC for the last 3 years it never disappointed me. Does anybody know when the new version is coming out?

  50. Thank you. It’s good story reviews.

  51. 35
    DVDSoft

    Dont know? Must i only set the number or somethingelse? Thanks
    remove drm protection

  52. yeb ’s so cool.

  53. Ho It’s new story thank.

  54. Thank you. It’s good story reviews.

  55. I agree that this site is better than other, especially when it comes to quality. I have been using this site for the last 3 years it never dissapointed me. Does anybody know when the new version is coming out?

  56. Very nice plugin!

  57. hi dagon people, can you update this plugin to get compatible with wp 3+

  58. Thank you for all the help. Why don’t you monetize your site at all? You get tons of traffic.

  59. Nice blog, where i can find more information?.if it available please post.

  60. Nice plugin! I find it very helpful! Thanks a lot!

  61. Good theme! Work

  62. nice thing, but if thats very secure, than can be very usable…

  63. Thank you SAM for your code.Even I had the same problem and now I fixed it. I used this in wordpress version 2.6. Iam not sure whether it is okay with with version 3.Did anyone try it ?

  64. that’s interesting.. but do you have a new one that support Wordpress 3.0 ? because i use wordpress 3.0

  65. nice post, where to find more information?

  66. that’s interesting.. but do you have a new one that support Wordpress 3.0 ? because i use wordpress 3.0

  67. Interesting! Does it also hide the admin panel from the normal readers?

  68. Very interesting theme!

  69. Good theme! Work!

  70. Nice plugin! Thanks!

  71. plugin works fine! Thank you!

  72. Plugin works with me. Thanks

  73. I have installed this plugin and it works fine, but I need something to replace the login required for users to comment on individual posts. I hope that makes sense. Do you have a version that takes care of that? Thanks.

  74. hello -this is a test

  75. the plugin works just fine! thanks again!

  76. Version 1.1 Released

    This updated fixes an issue with newer versions of WordPress (the log out link is generated in a different way).

    The output of custom messages has also been fixed by applying stripslashes to the variable.

    This version has been tested in the latest release of WordPress – 2.8

  77. Hi, I installed and activated the plugin. When I added HTML and CSS to the messagebox to display to the user, it did not output correctly. But the problem was solved by replacing line 100 with this code:
    Before “echo $ddhap_message;”
    After “echo stripslashes($ddhap_message);”

    Instead of display Logout link, I use HTML to redirect to blog home page. Here is a link to HTML redirecting code:
    http://www.instant-web-site-tools.com/html-redirect.html
    Hope it’s helpful :D

  78. My WordPress is 2.7.1

  79. After activating the plugin, there is no problem with Admin account. I tried to login with Subscribers account, and I got a message “You are attempting to log out of Job Board” (Job Board is my site title) with link “Please try again” below the message. The link was point to “wp-admin” directory. So how can I fix this problem?

  80. When I activate this plug-in it logs me out as well! How do I get back to the dashboard?! I have to delete the plug-in, it doesn’t seem to work for me. There is no way of even getting to a log-in screen as the admin. I don’t get it?!

  81. 5
    irish

    plugin works fine

  82. Yes, that is the purpose of this plugin. To completely block the admin panel from subscribers. It is not for everyone of course, but useful in certain situations.

  83. Have you tested this plugin at all?

    The subscriber is presented with a dead end, with no easy way to get out of it. When I added hyperlinks to direct them back, they end up on a 404 error not found page.

    In addition, they cannot edit their profile which is a real bummer.

  84. The link is fixed

  85. Error 404
    Sorry, we could not find what you were looking for, but don’t give up hope! It is probably still around here somewhere. You can use the search box to the left, or take a look at the links below.

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.