-
AuthorPosts
-
January 9, 2014 at 10:00 pm #207649
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?
January 10, 2014 at 11:49 am #207935Hey 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!
IsmaelJanuary 10, 2014 at 9:27 pm #208178This reply has been marked as private.January 10, 2014 at 9:28 pm #208179Link 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.
January 11, 2014 at 3:40 am #208309Hey!
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,
IsmaelJanuary 15, 2014 at 9:54 pm #210298Hi 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
-
AuthorPosts
- The topic ‘Icon Box Title Link’ is closed to new replies.
