This topic has 2 replies, 2 voices, and was last updated 6 years, 11 months ago ago by Rose Tyler
I have created some custom HTML in header for socials in my website. When I write the HTML I am on Text tab.
The problem is if I change to Visual from Text. Then all my HTML disappears and if I save the Theme Options, my social disappears.
How can we fix that?
Hello,
Sorry for the delay.
Try to use [share]
shortcode to Header custom HTML block https://www.8theme.com/demo/docs/royal/#!/7_royal_shortcodes
You need edit the file wp-content/themes/royal/framework/shortcodes.php (find the section “! Share This Product”).
For example, for facebook link you need change the following code
<a href="http://www.facebook.com/sharer.php?u='.$permalink.'" class="'.$tooltip_class.'" title="'.__('Facebook', ET_DOMAIN).'" target="_blank">
with your link
<a href="here is your link" class="'.$tooltip_class.'" title="'.__('Facebook', ET_DOMAIN).'" target="_blank">
Also we recommended to make all changes in the Child Theme.
https://www.8theme.com/demo/docs/royal/index.html#!/2_child_theme
https://codex.wordpress.org/Child_Themes
Regards,
Rose Tyler.
You must be logged in to reply to this topic.Log in/Sign up