WordPress.org

Ready to get started?Download WordPress

Forums

BuddyPress Activity Plus
[resolved] Open link in new tab (4 posts)

  1. fernon
    Member
    Posted 8 months ago #

    Hi I know this has been asked before, but the answer wasn't really clear to me.

    Is there a way to open all the links in a new tab?

    Thanks!

    http://wordpress.org/plugins/buddypress-activity-plus/

  2. WPMU DEV
    Member
    Posted 8 months ago #

    Hi @fernon,

    I hope you are well today and thank you for your question.

    If you want to open all external links on your site in a new tab then this little plugin might come in handy:
    http://wordpress.org/plugins/wp-external-links/

    If you want to open only BuddyPress Activity Plus links in a new tab then add the following code in your wp-config.php file:

    define('BPFB_LINKS_TARGET', true);

    You will find the wp-config.php file in root directory of your WP install. You would need to open wp-config.php in a text editor (not a word processing program like MS Word as that adds formatting that would render the code useless, and likely mess up other things too).

    Add the code above just before the line that says
    "That's all, stop editing".

    Then save and re-upload the file.

    Best Regards,

  3. fernon
    Member
    Posted 8 months ago #

    Thanks for the very very clear answer!!!

  4. WPMU DEV
    Member
    Posted 8 months ago #

    Hi @fernon,

    You are most welcome.

    Feel free to ask any question.

    Cheers.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.