Menu
Web Design | SEO | Website Development

UK Based Web Agency, Magento & Wordpress Specialist (Cranleigh | Surrey)

WordPress: How to hide the visual composer activation nag

By In Advice, Platforms, Website Development On 04/08/2016


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.


About the Author

Dan Vince

Yet another Web Development Professional

Related Posts

7 Comments

  • Pajtim 1 YEAR AGO

    Nice one work!

    Reply
  • Darth 1 YEAR AGO

    Did not work and caused 500 error

    Reply
    • Dan Vince 1 YEAR AGO

      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.

      Reply
    • alemarengo 1 YEAR AGO

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

      Reply
      • Dan Vince 1 YEAR AGO

        Cheers, I missed that, I've corrected the above code.

        Reply
  • prakhar 4 MONTHS AGO

    awesome!

    Reply
  • savas 1 MONTH AGO

    thanks work for me

    Reply

Leave a comment