Hi,
Is this solution still relevant? https://kriesi.at/support/topic/icon-box-icon-link/
Because I tried it and it didn’t work.
Because the mentioned code wa no longer relevant, the fix I made was this:
I replaced:
$output .= ' <div class="iconbox_icon heading-color" '.$display_char.'></div>';
With:
if(!empty($link))
{
$output .= " <a href='$link' title='".esc_attr($title)."' $linktarget>";
$output .= ' <div class="iconbox_icon heading-color" '.$display_char.'></div>';
$output .= ' </a>';
}
else
{
$output .= ' <div class="iconbox_icon heading-color" '.$display_char.'></div>';
}
Hi Eran!
Thanks you very much for sharing it.
Regards,
Josue