Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I need to disable the admin bar for subscribing user ( not the admin).

I found these code snippets here on SE.

However I don't know what file to edit or where to put the code exactly. I have experience with PHP, HTML, etc. Just not so much with the WP (3.4.2).

Thanks.

share|improve this question

1 Answer

up vote 1 down vote accepted

This would go in your theme's functions.php file. This is a small tweak, but things to remember are that:

  • If you ever change your theme, you'll need to remember to copy this over to the new theme
  • It'd be better to put these types of "system tweaks" into your own plugin, which you can read about here

Go with this one

share|improve this answer
Please re-read my answer - This would go in your theme's functions.php file. So - something like /wp-content/themes/YOURTHEME/functions.php at the end, before the closing ?> – Zach Oct 3 '12 at 16:23
Do you have a starter plugin I can use...to use as a repo for these little snippets...online maybe. – Hiro Protagonist Oct 4 '12 at 20:13
Sure - pastebin.com/hu2hPhDa just save that as something like starter-plugin.php, drop that in the wp-content/plugins directory and then activate it. You'll probably want to modify that header information to something else, but should be fine as-is. Thanks. – Zach Oct 4 '12 at 20:27
All you need is a comment..? Nice... WP makes life easy for starters! Thanks! – Hiro Protagonist Oct 4 '12 at 20:28
Yes'm :) No problem! – Zach Oct 4 '12 at 20:29

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.