New Landing How can we help? Themeforest Theme Support Neighborhood Remove Social Share on single product page

Viewing 4 posts - 1 through 4 (of 4 total)
  • #124912
    MarcusF
    Member
    Post count: 75

    Hey 😀

    I want to remove Social “tab” completely by php.
    Right now i have just added
    if (!function_exists(‘sf_product_share’)) {
    function sf_product_share() {
    return;
    }
    }
    to my functions.php,

    But is that correctly ?

    I need it to work from a child theme so i don’t need to worry about updates.

    Best regards,
    Kristoffer

    #124950
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Your code is perfect so you can insert it through functions.php of child theme.
    Thanks
    Mohammad

    #125262
    MarcusF
    Member
    Post count: 75

    Hey,

    Thanks 🙂

    /Kristoffer

    #125278
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register