New Landing How can we help? Atelier Buttons social networks

Viewing 2 posts - 1 through 2 (of 2 total)
  • Posted in: Atelier
  • #202052
    SofiCo77
    Member
    Post count: 39

    Hi, how to change the share buttons on the product page? Need other social networks.

    Attachments:
    You must be logged in to view attached files.
    #202308
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    You will need to edit wp-content/plugins/swift-framework/includes/shortcodes/sf-shortcodes.php and find this on line 1444:

    } else {
                        $share_output .= '<div class="sf-share-counts">';         
                        $share_output .= '<h3 class="share-text">'.__("Share", 'swift-framework-plugin').'</h3>';
                        $share_output .= '<a href="https://www.facebook.com/sharer/sharer.php?u='.$page_permalink.'&height=640&width=660&resizable=0&toolbar=0&menubar=0&status=0&location=0&scrollbars=0" class="sf-share-link sf-share-fb"><i class="fa-facebook"></i><span class="count">0</span></a>';
                        $share_output .= '<a href="http://twitter.com/share?text='.$page_title.'&url='.$page_permalink.'&height=640&width=660&resizable=0&toolbar=0&menubar=0&status=0&location=0&scrollbars=0" class="sf-share-link sf-share-twit"><i class="fa-twitter"></i><span class="count">0</span></a>';
                        $share_output .= '<a href="http://pinterest.com/pin/create/button/?url='.$page_permalink.'&media='.$page_thumb_url.'&description='.$page_title.'&height=640&width=660&resizable=0&toolbar=0&menubar=0&status=0&location=0&scrollbars=0" class="sf-share-link sf-share-pin"><i class="fa-pinterest"></i><span class="count">0</span></a>';
                        $share_output .= '</div>';
                    }

    – Kyle

Viewing 2 posts - 1 through 2 (of 2 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