Okay
  Public Ticket #3361601
Disable Social Medie Share
Closed

Comments

  •  3
    Karina started the conversation

    Hi there, is it possible to disable the social media sharing function of virtual events?

    Thanks!

    Sincerely, Karina

  •  785
    Zhivko replied

    Hi,

    Open your theme or child-theme functions.php file and at the bottom add following code:

    // Disable virtual location share links
    add_filter('stec-virtual-location-share-links', function() {
        return [];
    });
    

    Stachethemes Developer

  •  3
    Karina replied

    Hi, thank you. That does remove the Social Share, but we still get a external Script from Facebook. How can that be removed as well? 

    Attached files:  Bildschirmfoto 2023-05-04 um 11.42.38.png

  •  785
    Zhivko replied

    In STEC -> General set Comment form type to Disqus.

    2609354992.png

    This will disable loading of facebook sdk.

    Disqus won't load externals scripts unless comments are open for the event.


    Stachethemes Developer