[Resolved] How to hide "Addons availble! Take a look…"

Home Forums Support [Resolved] How to hide "Addons availble! Take a look…"

Home Forums Support How to hide "Addons availble! Take a look…"

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #41040
    Theodore Weddell

    Hi Tom, hope all is well.

    How can I hide or remove the red bar in Customizer, which reads “ADDONS AVAILABLE! TAKE A LOOK –> ” with a link to generatepress/addons/

    I’m using the plugins in a multisite and it’s not appropriate for site admins to see that message.

    Thanks

    #41056
    Tom
    Lead Developer
    Lead Developer

    The easiest way is to have GP Premium activated – but if that doesn’t work, you could try creating a new plugin (https://wordpress.org/plugins/pluginception/) and add this code:

    add_action('customize_controls_print_styles', 'generate_custom_customize_preview_css');
    function generate_custom_customize_preview_css() {
    	?>
    	<style>
    		.get-addon {display:none;}
    		
    	</style>
    	<?php
    }
    #41380
    Theodore Weddell

    Thanks Tom,

    After going back and forth I decided to just take the easy way and use the premium plugin. Just wanted to say thanks for your input. I’m lovin’ GP and the plugins. Can hardly wait to launch my site pretty soon.

    #41459
    Tom
    Lead Developer
    Lead Developer

    Looking forward to seeing it! 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.