I am grateful for this new feature, as I had been searching how to do this the other day! Although, I did notice some weird code outputted once I tried it out today.
<a href="http://www.dustingrof.com/rg2/2012/04/24/real-estate-coaching-busy-killing-productivity/" title="<a href='http://www.dustingrof.com/rg2/2012/04/24/real-estate-coaching-busy-killing-productivity/' title='IconBox Title' >IconBox Title</a>" class="iconbox_icon heading-color" aria-hidden="true" data-av_icon="" data-av_iconfont="entypo-fontello"></a>
As you can see, there is an A link in the title tag. The feature does work on the front end, but I thought this was invalid code.
Any thoughts?
Hey dustingrof!
Can you please give us a link to the page that renders the code above? Do you have the latest version of Enfold, 2.4.5?
Cheers!
Ismael
Link submitted in the private reply. For the non admins:
I have the latest version of Enfold under a child theme. Not much in the child theme except css and two modified shortcodes.
Hey!
I’m not sure but I think it is cause by the plugin SEO Ultimate. Please try to deactivate the plugin, see if the issue still exist. If it does, try to edit config-templatebuilder > aviashortocdes > iconbox.php. Find this code on line 147:
$title = "<a href='$link' title='".esc_attr($title)."' $blank>$title</a>";
Replace it with:
$title = "<a href='$link' $blank>$title</a>";
Best regards,
Ismael
Hi Ismael,
You are probably right, it could be a plugin conflict! It wasn’t the SEO plugin, but I think I will just use the code you suggested rather than disabling all my plugins etc.
Thanks for the help
D