This topic has 6 replies, 2 voices, and was last updated 8 years, 6 months ago ago by Eva Kemp
How can I add Pinterest to my [share] widget?
Thanks
Hello,
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($pinterest == 1) {
$html .= '
<li>
<a href="http://url_to_your_Pinterest_page" class="'.$tooltip_class.'" title="'.__('Pinterest', ET_DOMAIN).'" target="_blank">
<i class="ico-pinterest"></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
'pinterest' => 1,
after line 1927.
Regards,
Eva Kemp.
Thank you, and how about Skype?
Hello,
The code is familiar for skype icon:
if($skype == 1) {
$html .= '
<li>
<a href="http://url_to_Skype_page" class="'.$tooltip_class.'" title="'.__('Skype', ET_DOMAIN).'" target="_blank">
<i class="ico-skype"></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 'skype' => 1,
.
Regards,
Eva Kemp.
Thank you Eva,
great!
Hello,
You’re welcome.
Regards,
Eva Kemp.
The issue related to '‘Add Pinterest to [share] widget’' has been successfully resolved, and the topic is now closed for further responses