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

  1. fernon
    Posted 2 years 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?



  2. 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:

    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
    Posted 2 years ago #

    Thanks for the very very clear answer!!!

  4. Hi @fernon,

    You are most welcome.

    Feel free to ask any question.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • BuddyPress Activity Plus
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.