Social Media Links - by TheAmosGroup - on WordPress WooCommerce support

This topic has 2 replies, 2 voices, and was last updated 8 years, 9 months ago ago by Eva Kemp

  • Avatar: TheAmosGroup
    TheAmosGroup
    Participant
    March 13, 2016 at 20:57

    Hi,

    You answered this over a year ago, but I only see Twitter and Flickr.

    http://themeforest.net/item/royal-multipurpose-wordpress-theme/8611976/comments?page=29

    User SamiRiding asked how to add social links, and you said to use the widgets. I need to add a link to instagram.

    1 Answer
    Avatar: Eva
    Eva Kemp
    Support staff
    March 14, 2016 at 11:14

    Hello,

    To add Instagram icon you need add this code after line 2011 in the file wp-content/themes/royal/framework/shortcodes.php:

    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.

  • 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.