BuddyPress Activity Plus
[resolved] Any chance uploaded links to open in new window instead (3 posts)

  1. GearMX
    Posted 2 years ago #

    Hi -

    Awesome plugin! Any chance that links can be opened in a new window/tab in the browser instead of just going to the link's address. Thanks


  2. Mike
    WPMU DEV Support Staff
    Posted 2 years ago #

    Hi @GearMX

    I'm sure you could do this by editing the plugin files, but then you would loose the changed when updating so that's not a good idea, how about using some jQuery like this:

    $(".activity-inner a[href^='http://']").attr("target","_blank");

    You could also use some proper JavaScript if you don't want to use jQuery, here's where I got the code from:


    Hope that helps!

  3. WPMU DEV - Your WordPress Team
    WPMU DEV Support Staff
    Plugin Author

    Posted 2 years ago #

    Hey there.

    We haven't heard from you in awhile, so I just wanted to check in to make sure all was good.

    This thread was marked resolved, but please, if you still need help then just respond and open it back up. We can then take it from there. :)

    Hope you have a fantastic day!

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.