• Resolved bambymedia

    (@bambymedia)


    I’m wondering whether there is a shortcode or some way that I can make the subscribe links that appear underneath the Powerpress Player (Apple Podcasts, Android, Google Podcasts etc) open in a new window automatically?
    At the moment when you click on them it just takes you away from the website which I’m not really wanting to happen.
    Is there a way to rectify this?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Shawn

    (@shawnogordo)

    There is no functionality within the PowerPress plugin. You might be able to come up with something yourself thru CSS, but there’s no setting in PowerPress that can make this happen.

    Plugin Author Angelo Mandato

    (@amandato)

    Hello @shawnogordo,

    Just to expand on what Shawn said, when users actually click the link on the said mobile device, having it first open a new tab then load the app is somewhat annoying. Also when a user clicks and they have the app the user will not actually leave your website, it will open the app, when they return to the website your page will still be there. The only time your concern comes true is when someone from a PC (MAC or Windows) clicks the “Android” link for example. In other words, devices where this is a problem users will rarely click on the link in the first place.

    You could easily do something with javascript to set the target=”_blank” to links that are found within the .powerpress_subscribe_links class, I think this can be done with one line of JS when using jQuery. This may work:

    jQuery('.powerpress_subscribe_links a').attr('target','_blank');

    Also, _blank activity has security risks, you should be aware of this before doing something like this. Adding a tag rel=”noopener” will help with this according to Google.

    jQuery('.powerpress_subscribe_links a').attr('rel','noopener');

    I would also advise on doing some research to see if this will impact your sites SEO. I don’t think it will but web SEO changes often; what was ok last year is not today, so keep that in mind.

    Thanks,
    Angelo

    Thanks,
    Angelo

    Thread Starter bambymedia

    (@bambymedia)

    Great – thanks. I’ve advised my client of this information and they’re happy to leave it as. You raised a valid point re: the actual need for it to ‘open in new window” for mobile users.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Player Subscribe Links How To Open In New Window’ is closed to new replies.