WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Help, I've been CONNED! (15 posts)

  1. StingGB
    Member
    Posted 2 years ago #

    I run 2011 3.2.1, and have been avoiding the 3.2.2 upgrade like the plague because I knew it would screw up my site somehow.

    Anyway, upgrading a plugin I accidently pressed the wrong button, and inadvertedly upraded to 3.2.2.

    I now have permanent ugly dropdowns plastered all over my site header from the dashboard toolbar at the top.

    Could someone please tell me how to revert back to 3.2.1 to remove what this piece of junk upgrade has done.

    Thanks, Brian.

  2. imikedesigns
    Member
    Posted 2 years ago #

    Are you talking about the wordpress toolbar at the top?

  3. StingGB
    Member
    Posted 2 years ago #

    Yes. But please don't tell me to log out to remove it, I'll be logging in and out all day.

  4. imikedesigns
    Member
    Posted 2 years ago #

    add_filter('show_admin_bar', '__return_false');

    Add this to your functions.php file. This will hide the admin bar on the front end. At this point, I dont this there is a way to hide it on the backend. But this works for me on the front.

  5. StingGB
    Member
    Posted 2 years ago #

    Mike, thank's, but changing code is well beyond my capabilities. I need to revert back to 3.2.1 to get rid of this crap. I don't even know what 'front end' or back end' means I'm afraid.

    What kind of dimwitted moron thought this feature was in any way beneficial in the upgrade in the first place.

  6. esmi
    Forum Moderator
    Posted 2 years ago #

    Did you make a database backup before you upgraded? If not, then you cannot rollback. Not without with a 3.2.1 database backup. Even if you did, you should be warned that rolling back is:
    a) not recommended
    b) quite a complex process that involves restoring a .sql backup to your database.

    Try adding the code posted above to your theme's function.php file. It's far easier.

  7. imikedesigns
    Member
    Posted 2 years ago #

    Seriously its a matter of copy and paste.

    Click on Editor under Appearance. Then click on Theme Functions. Scroll to the bottom and paste it above the closing ?> line. That simple. I can do it for you if wanna give me access.

    If you dont keep WP updated, your site will eventually break. Sooner or later as plugin developers stay up to date, and functions are deprecated. The admin toolbar is meant to help. If you dont like it, the best way is to add the code I pasted above. Otherwise, theres always Joomla.

  8. esmi
    Forum Moderator
    Posted 2 years ago #

    I can do it for you if wanna give me access.

    With all due respect and with no slur intended, please do not encourage forum users to pass on sensitive login information. Not everyone who posts to these forums can be trusted. Would you hand your house keys over to a stranger in the street?

  9. cmegown
    Member
    Posted 2 years ago #

    Do as imikedesigns suggests. It is not at all a must-know-how-to-code type of thing. Simply follow his clear instructions and the Admin bar should disappear.

  10. StingGB
    Member
    Posted 2 years ago #

    Well, thanks very much Mike (and others), it really seems to have worked.

    Don't you think its stupid though that experts like you have to write code to use and pass on to beginners like me to patch what should be an improvement, what an 'upgrade' is supposed to mean?

    I know WordPress is open source, but I do wonder what little must be going on the life of the moron responsible for this feature to implement such rubbish! Dropdowns were all over my site!

    Anyway, enough of my rant, thank's very much again, I really appreciate it.

    Brian.

  11. esmi
    Forum Moderator
    Posted 2 years ago #

    Don't you think its stupid though that experts like you have to write code to use and pass on to beginners like me to patch what should be an improvement,

    Just because you don't like the admin bar, that doesn't not mean that it isn't an improvement. It's actually quite popular (I've even got quite used to relying in it myself) but,as with any new feature, there will always be some who don't like it. As it's now firmly part of WP core, disabling it completely needs to be handled via code or plugins. If there aren't plugins to deal with it already, there soon will be. :-)

  12. cmegown
    Member
    Posted 2 years ago #

    It's meant to streamline the posting process. For those of us who are more familiar with WordPress than the average Joe it's quite a handy tool, but fortunately the code posted above is a simple way to remove the tool - even for non-programmers!

    As for 'the moron responsible for this feature', the WordPress core developers collectively agreed that the admin bar is far more beneficial than not so they didn't want to make it too easy for people to hide it from view :P

  13. Harry
    Member
    Posted 2 years ago #

    Sorry, am I following this correctly, is this the grey admin bar that appears at the top of your site when logged in? That no one else can see apart from you?

    That can be disabled in your user profile without touching a line of code? It's a matter of ticking a box.

    Excuse/ignore if this is not what you're in fact talking about.

    Also, whinging about a feature you don't like. Get real, many people use it. WordPress wasn't designed for you alone, it was designed for everyone which is why it is so customisable!

  14. esmi
    Forum Moderator
    Posted 2 years ago #

    That can be disabled in your user profile without touching a line of code? It's a matter of ticking a box.

    Please read the original post. The OP is using 3.2.

  15. Harry
    Member
    Posted 2 years ago #

    Please read the original post. The OP is using 3.2.

    I did read the original post, and having installed WP 3.2.1, if I've understood correctly. In Users > Your Profile, you can untick the boxes to hide the admin bar "when viewing the site" and "in dashboard".

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags