Viewing 1 replies (of 1 total)
  • Plugin Contributor MariusG

    (@marius_codeinwp)

    Hello Casper,

    If I understood correctly, you need to use the Buy Button for a page jump.
    Currently, there’s no way to choose whether you want links to open in current or new tab, meaning you will need to edit the php files of the plugin to do so.

    Go to Plugins -> Editor -> WP Product Review and search for these lines:
    <a href="'.$affiliate_link.'" rel="nofollow" target="_blank">
    <a href="'.$affiliate_link2.'" rel="nofollow" target="_blank">

    Remove target=”_blank” and links will now open in current page.

    This seems like an important feature and we’ll implement this in our future updates, thank you for your suggestion.

    Best regards,
    Marius

Viewing 1 replies (of 1 total)

The topic ‘Make "affiliate button" as a anchor link’ is closed to new replies.