Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #25096

    this is a faq – but i am not tring to open a link by css/htlm code – i just need a tip how to tell this to my URL i applied to a icon…

    the form just offers ‘http://’

    any idea how i could manage to open the file/address in a new tab/window?

    thanks

    P.-

    #125763

    Hi,

    You need the target property.

    <a href="http://www.urlhere.com" target="_blank">Click here</a>

    Regards,

    Ismael

    #125764

    hmmm. i cant follow…

    i am refering to the element ‘icon list’…

    in the properties there, you can choose: ‘Edit List Item’ – typing in the URL manually (‘set manually’)…. there is only the possibility to type in an URL, not any code… or do i miss any detail?!

    please advise!

    thanks

    P.-

    #125765

    Hi,

    Sorry my bad. Edit config-templatebuilderavia-shortcodesiconlist.php, find this code on line 208 perhaps

    $atts['title'] = "<a href='{$atts['link']}' title='".esc_attr($atts['title'])."'>{$atts['title']}</a>

    Replace it with:

    $atts['title'] = "<a target='_blank' href='{$atts['link']}' title='".esc_attr($atts['title'])."'>{$atts['title']}</a>

    Regards,

    Ismael

    #125766

    bullseye! you’re THE MAN – thanks – it works like a charm!!

    #125767

    Hey,

    Glad it worked. :)

    Cheers,

    Ismael

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘open URL in new Window – section 'icon list'’ is closed to new replies.