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

    Hi there

    Using the Sentence Advertising Area – widget – I would like my Referal URL’s to open in a new window (_blank).

    Can you please shoot me the code and where I should add/replace it?

    Thanks!

    #69828

    Open up sentenceframeworkphpclass-framework-widgets.php and replace:

    echo '<a href="'.$ref_url.'" class="preloading_background  avia_partner1 link_list_item'.$kriesiaddwidget.' '.$firsttitle.'" >'.$image_url.'</a>';
    if($this->add_cont == 2) echo '<a href="'.$ref_url2.'" class="preloading_background avia_partner2 link_list_item'.$kriesiaddwidget.' '.$firsttitle.'" >'.$image_url2.'</a>';

    with:

    echo '<a target="_blank" href="'.$ref_url.'" class="preloading_background  avia_partner1 link_list_item'.$kriesiaddwidget.' '.$firsttitle.'" >'.$image_url.'</a>';
    if($this->add_cont == 2) echo '<a target="_blank" href="'.$ref_url2.'" class="preloading_background avia_partner2 link_list_item'.$kriesiaddwidget.' '.$firsttitle.'" >'.$image_url2.'</a>';

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

The topic ‘Sentence Advertising Area – widget’ is closed to new replies.