• Hi, i have a good coocie banner plugin, when i activate Easyfancybox this plugin find a script for Twitter, pinterest, ….

    How can i remove this things…. it is nowhere in settings

    This is the code:

    <script type='text/javascript' id='jquery-fancybox-js-after'>
    var fb_timeout, fb_opts={'overlayShow':true,'hideOnOverlayClick':true,'showCloseButton':true,'padding':0,'margin':20,'centerOnScroll':false,'enableEscapeButton':true,'autoScale':true };
    if(typeof easy_fancybox_handler==='undefined'){
    var easy_fancybox_handler=function(){
    	jQuery([".nolightbox","a.wp-block-file__button","a.pin-it-button","a[href*='pinterest.com\/pin\/create']","a[href*='facebook.com\/share']","a[href*='twitter.com\/share']"].join(',')).addClass('nofancybox');
    	jQuery('a.fancybox-close').on('click',function(e){e.preventDefault();jQuery.fancybox.close()});
    	/* IMG */
    

    Please Help

Viewing 1 replies (of 1 total)
  • Hi, the cookie banner is mistaken, there is no twitter, pinterest or other script there. It probably reacts to a line of code in the Easy FancyBox script that is there to prevent conflict with potential social buttons. It does NOT add any social button scripts itself.

    Which cookie banner plugin is this? You might want to report the mistake to the plugin developers.

    In the meantime, you can go to Settings > Media and look for the field “Exclude” in the Miscellaneous section. Remove all references to social media buttons there. If unsure, you can make the field completely empty (but be aware that the File block when linked to a media file, will open in a light box instead of downloading the file).

Viewing 1 replies (of 1 total)
  • The topic ‘Remove twitter and other Social media from Plugin’ is closed to new replies.