WordPress: How to hide the visual composer activation nag

Like me, are you sick of seeing: “Hola! Please activate your copy of Visual Composer to receive automatic updates”

visual-composer-nag

Every single time you log in to WordPress? Even though you’ve bought a premium theme with visual composer plugin bundled with it, or perhaps you are using WordPress in a test/development environment and it’s annoying yourself or a client.

Well, have no fear! Use this bit of code in your functions file to use css to hide it forever!

// evince.uk visual composer activation nag remover
function admin_css() {
 echo '<style type="text/css">
#vc_license-activation-notice {display:none !important;}
 </style>';
}
add_action('admin_head', 'admin_css');

Tip, if you don’t want to edit your functions file for any reason or aren’t using a child theme then use the WordPress “functionality” plugin to have an additional functions file accessible from the backend so that the tweak isn’t overwritten when you update the theme.

8 comments
    1. It may have caused a confliction with other elements within your functions.php file.

      It’s sometimes sensible to use the Functionality Plugin on wordpress and drop it in there.

      I assure you this code works I have running on lots of sites.

    2. Because it misses of a semicolon at the end of the code. But it’s the only one that works! Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Post

Introducing evince Services Ltd. The new name for iVince Ltd.

Next Post

Globally set the un-exclude checkbox for the image gallery on all products in Magento

Related Posts