This topic has 8 replies, 3 voices, and was last updated 8 years, 8 months ago ago by Stan Russell
Hi there, getting to grips with the Royal theme. Seems great but how do I add social media icons to the top bar of the royal theme that link directly to my social media accounts? Thanks
Hello,
Please add Text Widget with [share]
content into ‘Left side top bar area’ or ‘Right side top bar area’ in Appearance->Widgets.
Regards,
Robert Hall.
Thanks for quick response – but I would like icons to link directly to my eg. my actual twitter page rather than to a share
please advise, many thanks
You need edit it manually in \themes\royal\framework\shortcodes.php file on line 1727 – 1769.
Regards,
Robert Hall.
Thansk so much Robert – I am nearly there except it does not accept my edit. Please see in Private Content what I have added – can you tell me why this fail?
many thanks
Hello,
Please try to replace this code on line 1746
<a href="http://www.facebook.com/sharer.php?u='.$permalink.'&images='.$image.'" class="'.$tooltip_class.'" title="'.__('Facebook', ET_DOMAIN).'" target="_blank">
to
<a href="https://www.facebook.com/paula.kerr" class="'.$tooltip_class.'" title="'.__('Facebook', ET_DOMAIN).'" target="_blank">
Regards,
Robert Hall.
Helo Robert, yes that works – many thanks. 1 last question – if I apply an update to the theme will these settings be overwritten? I have a child-theme in place but this file we have updated is in the parent theme?
Many thanks
Hello,
to avoid losing your customization on theme update please copy edited files to child theme folder.
Regards,
Stan Russell.
You must be logged in to reply to this topic.Log in/Sign up