This topic has 7 replies, 2 voices, and was last updated 8 years, 10 months ago ago by Robert Hall
Hello,
The [share] shortcode doesn’t work, it appears as [share] everywhere (header, under product etc) and not putting the social icons. What’s wrong? I’ve checked the framework/shortcodes.php file, its there, the share shortcode code is there, it’s registered (add_shortcode(‘share’, ‘etheme_share_shortcode’);) but strangely doesn’t work.
We’re using your Royal theme.
Thanks.
Hello,
Please provide us with wp-admin and FTP credentials in Private Content.
Regards,
Robert Hall.
Logins
Any progress with this issue?
Hello,
Sorry for a delay.
As I see you’re already added the social icons to the top bar.
Regards,
Robert Hall.
Ya, did you fix it? Thanks.
But actually this is social sharing and we wanted social icons with links to the company pages on the social sites. So link to the facebook page, twitter page, etc. This is just sharing the page. How can we do it?
You can change the links in \themes\royal\framework\shortcodes.php file.
Find // ! Share This Product
section and you’ll see code for social icons there.
Then look at the following code and edit href=""
attribute with your link.
<a href="https://twitter.com/share?url='.$permalink.'&text='.$post_title.'" class="'.$tooltip_class.'" title="'.__('Twitter', ET_DOMAIN).'" target="_blank">
.
Regards,
Robert Hall.
Tagged: best selling, fix issue, share shortcode, solve problem, themes, woocommerce
You must be logged in to reply to this topic.Log in/Sign up