This topic has 6 replies, 2 voices, and was last updated 9 years, 2 months ago ago by Eva Kemp
Can we add a Instagram share button/tab to the social share bar?
Hello,
Yes, you need edit the file wp-content/themes/royal/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>
';
}
Regards,
Eva Kemp.
Hi Eva I tried to do that but seen no changes after updating.
Does it need to formatted to look the same as the other ones more horizontally laid out in the editor or would this not even be an issue?
Thank you
Hello,
Please provide us with FTP credentials and show a page where social icons are displayed.
Regards,
Eva Kemp.
Thank you Eva Added that info into the private content tab.
Mark
Hello,
I’ve added the code in shortcodes.php, you just need write your link to Instagram account in line 1766, replace http://your_link with your url.
Also I added this code in line 1705:
'instagram' => 1,
Please check social icons now.
Regards,
Eva Kemp.
You must be logged in to reply to this topic.Log in/Sign up