Footer 10 social sharing? - by FuegoHD - on WordPress WooCommerce support

This topic has 4 replies, 3 voices, and was last updated 9 years, 1 months ago ago by Robert Hall

  • Avatar: FuegoHD
    FuegoHD
    Participant
    October 6, 2015 at 16:26

    Hello, I can’t seem to find where the “footer 10” section in “footer-parallax” is pulling these social sharing icons from. I found the static block where it gets the woopress logo from and I know how to change that and the copyright text. But how do I add another social icon to share on other sites like Instagram for example?

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    October 6, 2015 at 16:40

    Hello,

    You need edit the file wp-content/themes/woopress/framework/shortcodes.php (find the section “! Share This Product”) and add this code after line 2010:

    if($instagram == 1) {
    $html .= '
    <li>
    <a href="http://url_to_your_Instagram_page" class="'.$tooltip_class.'" title="'.__('Instagram', ET_DOMAIN).'" target="_blank">
    <i class="ico-instagram"></i>
    <svg width="38" height="38" xmlns="http://www.w3.org/2000/svg" class="circle">
    <circle cx="19" cy="19" r="18" fill="rgba(255,255,255,0)" stroke="#000000"></circle>
    </svg>
    </a>
    </li>
    ';
    }

    and
    'instagram' => 1, after line 1927.

    Regards,
    Eva Kemp.

    Avatar: FuegoHD
    FuegoHD
    Participant
    October 16, 2015 at 03:56

    Cool trick! Thanks.

    Avatar: Robert Hall
    Robert Hall
    Support staff
    October 16, 2015 at 08:57

    Hello,

    You’re welcome!

    Regards,
    Robert Hall.

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

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

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