WordPress.org

Ready to get started?Download WordPress

Forums

Embed RSS
How To Get Links To Open In New Window (3 posts)

  1. abcadmin
    Member
    Posted 10 months ago #

    Hello,

    I would like for the links that come through this plugin to open in a new window. What can I do to get this to happen?

    Thank you.

    http://wordpress.org/plugins/embed-rss/

  2. davidtrounce
    Member
    Posted 9 months ago #

    I came here to ask the same thing. I love this plug in. It works like a charm (I tried six others that didnt work at all!)

    Thanks so much for a good clean plug in.

    Any chance of opening in a new window option?

  3. khrisme
    Member
    Posted 9 months ago #

    To open the link in a new tab:

    1. Find the following in the code:

    $out .= "<li><a class='post' href='$link' title='$title'>$title</a>{$date}{$summary}

    2. Replace with the following:

    $out .= "<li><a class='post' target='_blank' href='$link' title='$title'>$title</a>{$date}{$summary}

    That's it.

Reply

You must log in to post.

About this Plugin

About this Topic