WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: FeedWordPress] I want title link to open in new window

[Resolved] [Plugin: FeedWordPress] I want title link to open in new window

  • Instead of visitors being navigated away from my site when they click the title of syndicated links, I’d like it to open a new window. How is this done?

    I’m using WordPress 2.7 with the iNove theme.

Viewing 5 replies - 1 through 5 (of 5 total)
  • I haven’t tried it, but this plugin might work.

    You could also change your theme code. For instance, in your theme’s index.php (or other file that displays posts), find something like this:

    <h2 class="title-1"><a href="<?php the_permalink() ?>" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>

    …and add a target tag:

    <h2 class="title-1"><a href="<?php the_permalink() ?>" target=”_blank” title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>

    Depending on your theme, you may have to edit multiple files, of course. The plugin would be simpler, if it works.

    Hedley: You’re The Man! The plugin didn’t work, but your “also” did! Thanks! I knew about “_blank” but I wasn’t plugging it into the correct spot! Many gratefull thanks from a newbie!

    thanks Hedley! that worked for me too…can’t figure out why that wasn’t just a given in the FeedWordPress install instructions.
    cheers
    nathalie

    http://vitiligocover.com
    http://sculptmagazine.com

    Worked for me too Hedley!! Thanks a lot bro!

    That almost worked 🙁
    But it opens EVERY title link in a new window now, even the ones that are not syndicated links (part of the blog itself).

    I’m still wondering if there’s another workaround that only targets this plugin, so the rest of the blog works normally. I don’t want the internal blog posts to open in a new window…

    This plugin still needs work…

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] [Plugin: FeedWordPress] I want title link to open in new window’ is closed to new replies.
Skip to toolbar