WordPress.org

Ready to get started?Download WordPress

Forums

App Store Assistant
[resolved] Open Link in a New Window (2 posts)

  1. bluesteel124
    Member
    Posted 1 year ago #

    How can I get the app store link to open in a new window instead of leaving the page?

    Adding target="_blank", just breaks the link.

    http://wordpress.org/extend/plugins/app-store-assistant/

  2. sealsystems
    Member
    Plugin Author

    Posted 1 year ago #

    Change lines 685-687 to the following in appStore-main.php

    <a href="<?php echo $appURL; ?>" target="_blank"><img class="appStore-icon" src="<?php echo $artwork_url; ?>" width="<?php echo $newImageWidth; ?>" height="<?php echo $newImageHeight; ?>" /></a>
    		<div class="appStore-purchase">
    			<a type="button" href="<?php echo $appURL; ?>" value="" class="appStore-Button BuyButton" target="_blank"><?PHP echo $buttonText; ?></a></br>

    I will add this in the next release as well.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.