• I’m trying to get my twitter feed to open in a new tab/page, rather than the current page. I’m okay with tweaking some PHP code, as long as it’s only a little bit at a time (essentially I have zero php experience). The code is unchanged in it recommended install form:

    <?php if ( function_exists('insert_newsticker') ) { insert_newsticker(); } ?>

    The site is http://pauldwood.info/

    Thanks, and I love the simplicity of the plugin, cheers!

    http://wordpress.org/extend/plugins/news-ticker/

Viewing 1 replies (of 1 total)
  • Hi smokingplatypus,

    I don’t recommended changing someones plugin because it would brake/override your changes on update. Since this plugin is not working and the plugin author is MIA i think it would be ok to change some code. you might want to change the plugin name too so you don’t loose changes if the author does update it later.

    In ticker.php look around line 134 and swap

    <span class="tickerLink"><a href="<?php echo $item['link']; ?>"><?php echo $item['title']; ?></a></b></span>

    to

    <span class="tickerLink"><a href="<?php echo $item['link']; ?>" target="_blank"><?php echo $item['title']; ?></a></b></span>

    that should do it.

    James Tryon
    http://easilyamusedinc.com

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: News-Ticker] Opens Link in New Page’ is closed to new replies.