Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #187440

    Hi,

    Is this solution still relevant? http://www.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>';
    				}
    #187491

    Hi Eran!

    Thanks you very much for sharing it.

    Regards,
    Josue

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘iconbox link’ is closed to new replies.