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.

9 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!

  1. One missing info from the article was where the functions.php file was located:
    html/wp-content/themes/theme_name/functions.php

    It should also be noted that added the code snippet at the top of the file resulted in the banner being hidden, but “// evince.uk visual composer activation nag remover function admin_css() { echo ”; } add_action(‘admin_head’, ‘admin_css’); ” shown, while adding it to the bottom of the file gave the desired results.

Leave a Reply to Dan Vince Cancel 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