Share Shortcode - by Anthony - on WordPress WooCommerce support

This topic has 2 replies, 2 voices, and was last updated 8 years, 1 month ago ago by Robert Hall

  • Avatar: anthonyflotation
    Anthony
    Participant
    February 4, 2016 at 21:09

    Hello,

    You need edit the file wp-content/themes/woopress/framework/shortcodes.php (find the section “! Share This Product” in line 1918), to change link you need edit the code, for example for Twitter and replace http://www.facebook.com/sharer.php?u=’.$permalink.’&images=’.$image.’ with a link to your Facebook account.

    the above i understand; however, what if i’d like to keep the [share] shortcode and create another shortcode for links like social media and emailing. when i write in the new code for the [links] shortcode and upload it via FTP the site is non responsive (nothing but white page). then when i delete the code, it’s fine. the code for [links] is almost identical to that of [share].

    any ideas?

    1 Answer
    Avatar: Robert Hall
    Robert Hall
    Support staff
    February 5, 2016 at 08:27

    Hello,

    It requires additional customization in php files which is beyond our basic support scope.
    Sorry for inconvinience.

    Regards,
    Robert Hall.

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.