Ready to get started?Download WordPress


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

  1. GearMX
    Posted 11 months 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 11 months 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!

    WPMU DEV Support Staff
    Plugin Author

    Posted 10 months 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!


You must log in to post.

About this Plugin

About this Topic


No tags yet.