WordPress.org

Ready to get started?Download WordPress

Forums

Adminimize
[resolved] Hide .update-nag? (6 posts)

  1. hypeon
    Member
    Posted 1 year ago #

    How do I hide the class .update-nag (the alert asking you to update WP) for Authors and below but not admins?

    I realise you can add it to the class/id list but I'm not sure how to apply it to different roles.

    Any help appreciated.

    http://wordpress.org/extend/plugins/adminimize/

  2. Frank
    Member
    Plugin Author

    Posted 1 year ago #

    Add the css class to the global options and save the settings. After this reload you find this option on all roles on your install and you can hide on each role.

  3. hypeon
    Member
    Posted 1 year ago #

    Ah so that's how you do it, brilliant thank you!

  4. lilandzoom
    Member
    Posted 8 months ago #

    it doesn't work for me...
    Can you write the exact syntax? I'm using WP 3.6.1

  5. Rocket Pixels
    Member
    Posted 8 months ago #

    Some folks are not full-fledged Web developers (probably just Web designers) so a Plugin Author's instructions can seem a bit frustrating and/or confusing. So here's what you folks need to do:

    As Frank instructed:

    Go to ADMINIZED > GLOBAL OPTIONS

    1. In the first box add "WordPress UPDATE" or similar - whatever you want to the label to be.
    2. In the adjacent box add the DIV class for the update notification bar, which is ".update-nag".
    3. Click the "Update Options" button.

    Go back to GLOBAL OPTIONS and your WordPress UPDATE selection should now be visible!

  6. lilandzoom
    Member
    Posted 8 months ago #

    Thank you for that Rocket Pixels, I figured it out

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.