WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Hiding "Install the WooThemes Updater plugin..." alert on Dashboard (15 posts)

  1. trevelations
    Member
    Posted 1 year ago #

    How do I hide the alert that appears on the dashboard to "Install the WooThemes Updater Plugin..."? I don't want to disable all alerts, only this particular one.

    Thanks in advance

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

  2. rcain
    Member
    Posted 1 year ago #

    i too have the same problem/requirement.

    it is not good that non-admin users see messages and links like this - it suggests that plugin security has not been properly addressed (even if there is no actual exposure).

    thanks for any advise/feedback.

  3. stoppy
    Member
    Posted 1 year ago #

    I'm pretty sure this isn't the most fool proof option but if you add:

    .fade {display: none;}

    into the woocommerce menu.css file, found in plugins/woocommerce/assets/css/menu.css

    it stops the message from showing up & it doesn't seem to affect any of the standard wordpress update / general notifications, also tested along with gravity forms and doesn't effect that either.

  4. websta
    Member
    Posted 1 year ago #

    Thank you, Stoppy!

  5. scruffy1
    Member
    Posted 1 year ago #

    yep same issue here

    "Install the WooThemes Updater plugin to get updates for your WooThemes plugins." what the annoying part is when i tried to install it, it simply failed, a lot of the items coming out of woothemes are not great at moment considering the security of your site could be at peril, I have had a few issues recently only to be quickly fixed with an update, however this one is the most annoying i dont want the world to know about updating,

  6. cokeyblokey
    Member
    Posted 1 year ago #

    I'm pretty sure this isn't the most fool proof option but if you add:

    .fade {display: none;}

    into the woocommerce menu.css file, found in plugins/woocommerce/assets/css/menu.css

    This is a good idea but it will get overwritten when you next update Woocommerce. A better solution would be to create a little plugin that then allows you to override styles for the admin area, and then add the class above to that.

    Don't worry, it's much easier than it sounds:

    1. Create a PHP file called 'my-admin-theme.php' and add this to it:

    <?php
    
    /*
    Plugin Name: My Admin Theme
    Plugin URI: http://example.com
    Description: My WordPress Admin Theme - Upload and Activate.
    Author: Ms. WordPress
    Version: 1.0
    Author URI: http://example.com
    */
    
    function my_admin_theme_style() {
        wp_enqueue_style('my-admin-theme', plugins_url('wp-admin.css', __FILE__));
    }
    add_action('admin_enqueue_scripts', 'my_admin_theme_style');
    add_action('login_enqueue_scripts', 'my_admin_theme_style');
    
    ?>

    2. Create a CSS file called 'wp-admin.css' and add this to it:
    .updated.fade {display:none;}
    3. Save both files to a new folder called 'my-admin-theme'
    4. Upload/FTP the folder to the plugins directory
    5. In your WP Dashboard navigate to the Plugins section and activate 'My Admin Theme'

    The Woocommerce updater notice will now be hidden.

    You now also have a very handy method of changing any of the Dashboard styles by just adding them to the wp-admin.css file, that can now be edited through the 'plugins editor' screen. Choose 'My Admin Theme' from the drop-down, hit select then click 'wp-admin.css'.

    The beauty of this method is that none of your new styles will get overwritten when you update WP or Woocommerce. If you ever want to revert back to the original styles then you just deactivate the plugin!

  7. Dalton
    Member
    Posted 1 year ago #

    Yes, but this hides all messages with the .updated.fade class, not just the WooCommerce messages. There are other important messages that might be using this class.

    I've found the best way to remove these messages is to add
    remove_action( 'admin_notices', 'woothemes_updater_notice' );
    to my theme's functions.php.

  8. cokeyblokey
    Member
    Posted 1 year ago #

    Well spotted Dalton. I had no idea those classes were used for other messages, outside of the woocommerce plugin. Now I think about it, it's obvious they are, otherwise why would they be in the admin css in the first place!

    Your method works perfectly - thanks!

  9. IgniteWoo
    Member
    Posted 1 year ago #

    The easiest way to make it go away is to install the updater plugin. Why wouldn't you want update notices anyway?

  10. solosails
    Member
    Posted 1 year ago #

    But I don't want to instal it, so ramming it down our throats and leaving no choice to remove it is just a bit of a hard sell advert.

    Considering you supply such awesome free products, I can hardly complain, but simply adding an option to hide this message should not need to be requested.

    It is just advertising without an opt out which is a bit big brother.

    I feel a bit annoyed that I have to ad yet more code to my functions file simply to get rid if an advert in my admin panel.

    Please could you change this? Many thanks.

  11. StevenW123
    Member
    Posted 1 year ago #

    I agree completely with solosails and others here.

    I buy Woo extensions, so Woo gets its fair share for giving me basic ecommerce software. I pay for my extensions, my theme, my hosting, for everything - it's mine - so I and only I should decide what gets plastered at the top of the page.

    I stopped using Microsoft anti-virus because you couldn't turn it off when you needed to. Microsoft Support couldn't understand why anyone would want to do that. It's the same here, it doesn't matter why we should want to, we should have the right to choose whether we do or not. It's outrageous that we don't!

    WooCommerce is being very backward in its customer service here. Good customer service means giving the customer what they want. The simple fact: it's my site - I should say what goes on it.

  12. StevenW123
    Member
    Posted 1 year ago #

    Thanks Dalton Rooney, that works a treat!

  13. Devin Walker
    Member
    Posted 1 year ago #

    Dalton's method works like a charm.

  14. IgniteWoo
    Member
    Posted 1 year ago #

    @solosails: We are not affiliated with WooThemes.

    Anyway, the updater notice is there so that you can receive important software updates. It's definitely not an advert.

    This is the case for many 3rd party plugins - fairly standard practice. In fact most people complain if there isn't an auto-updater ;-)

  15. brian1037
    Member
    Posted 7 months ago #

    Dalton's method works fantastically.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.