WordPress.org

Support

Support » Plugins and Hacks » BuddyPress Activity Plus » [Resolved] Any chance uploaded links to open in new window instead

[Resolved] Any chance uploaded links to open in new window instead

Viewing 2 replies - 1 through 2 (of 2 total)
  • Mike

    @michael-copestake

    WPMU DEV Support Staff

    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:

    Open External Links In New Window

    Hope that helps!

    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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Any chance uploaded links to open in new window instead’ is closed to new replies.
Skip to toolbar