Okay
  Public Ticket #3006082
Social Sahre / GDPR
Closed

Comments

  •  5
    joshivince started the conversation

    Hi all. Thanks for this nice Wordpress Plugin I love it.

    Can you please give us the possibility to turn some of the social shares off? For example I want to deactivate the "Viber" social share. AFAIK I can only turn off the whole share bar and not a single one. Background for this request: It is hard to get Data Security (Privacy Policy) 100 % compliant to law with "WhatsApp" and "Viber" (at least in Europe) - occuring GDPR problems.

    Thanks for your reply in advance, Vincent

  •  783
    Zhivko replied

    Hi,

    Open your theme or child-theme functions.php file and insert following filter:

    add_filter('stec-share-links', function($share_links) {
        $remove = [
            'viber',
            'whatsapp'
        ];
        
        foreach($remove as $icon) {
            if (isset($share_links[$icon])) {
                unset($share_links[$icon]);
            }
        }
        return $share_links;
    });

    Stachethemes Developer

  •  5
    joshivince replied

    WOW! Thanks a lot it works fine.

    One question about that: Is just the icon removed and also its functionality behind? I ask because if the viber script is still loaded and full with its functionality it is still a violation of GDPR regulation.

    Thanks again.

    Regards from Germany,
    Vincent

  •  783
    Zhivko replied

    Don't worry there are no viber or messenger scripts there. 

    The share links are plain urls and don't use scripts.


    Stachethemes Developer

  •  5
    joshivince replied

    Thank you a lot. Then you can close this incident.

    I'm happy with it!