This topic has 15 replies, 4 voices, and was last updated 9 years ago ago by Eva Kemp
Hi, I think I found where to update the social icons in the header on the Royal theme.
I found the [share] option in theme options> header but not sure what and how I change it.
Thanks,
Hello,
Please clarify what exactly you want to change.
Thank you.
Best regards,
Jack Richardson.
I’m not sure yet which social icons I want to use but will need to remove at least one or maybe two. I also would like to update them to link to correct pages.
But maybe I can’t do it myself and you need to do it for me if that is the case I will get back to you with exactly what I need.
Thanks,
Hello kaha,
we will wait for your reply. Feel free to ask if any help needed.
Regards,
Stan Russell.
Ok I have the exact links now. I would prefer to learn how to do this myself so if you could tell me how that would be great. If not, my links are in the private section.
Thanks,
Hello,
You need edit the file wp-content/themes/royal/framework/shortcodes.php (find the section “! Share This Product” in line 1918), to change links you need edit the code, for example for Twitter <a href="https://twitter.com/share?url='.$permalink.'&text='.$post_title.'" class="'.$tooltip_class.'" title="'.__('Twitter', ETHEME_DOMAIN).'" target="_blank">
and replace https://twitter.com/share?url='.$permalink.'&text='.$post_title.'
with a link to your Twitter account.
Best regards,
Jack Richardson.
Great, thanks! However I don’t see an instagram icon/section
Oooops!! I removed too much trying to switch out the subject on the email short code.
Now I can’t go back to fix it…help!
Hello,
I’ve changed the code to default.
To add Instagram icon 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>
';
}
and
'instagram' => 1
after line 1927.
Regards,
Eva Kemp.
Thanks! Maybe I should just have you fix all the links for me so I don’t mess it up again?
I wanted to change the email to not say Home (and instead say Hi) in the subject line and that is what broke the code.
The links are all above and the email is below
Hello,
I’ve added Instagram code and edited mail text.
Please check icons now.
Regards,
Eva Kemp.
Thank you so much!!
Would you mind removing that link that shows up in the email that says check this out__________ (and if not too much, move the letter icon to the far right (inside the social box))
Thanks!!!
Where do I leave a review for you guys?
Hello,
Done as requested.
Please check.
You can leave a comment on the site http://themeforest.net/item/royal-multipurpose-wordpress-theme/8611976/comments .
Regards,
Eva Kemp.
Thanks a million!!
Hello,
You’re welcome.
Regards,
Eva Kemp.
The issue related to '‘Header Social Icons Royal’' has been successfully resolved, and the topic is now closed for further responses