FunkiG Posted May 13 Share Posted May 13 On this page - https://www.jazzikology.com/jazzikology-resources-music-tutorials - I have two affiliate merchant banners encoded by code provided to me by the respective merchants (Jazz Edge and Reverb). When you click on either banner, their site replaces my site. Is there code I can add to the blocks that will force the affiliate merchant page to open in its own tabe/browser? Link to comment
Solution creedon Posted May 14 Solution Share Posted May 14 Find the following line... <a href="https://jazzedge.academy?aff=4" rel="nofollow" > ...and change it to the following... <a href="https://jazzedge.academy?aff=4" rel="nofollow" target="_blank"> Repeat for the other affiliate code. <a rel="sponsored" href="https://www.awin1.com/cread.php?s=3526276&v=67144&q=479083&r=1607766"> ...becomes... <a rel="sponsored" href="https://www.awin1.com/cread.php?s=3526276&v=67144&q=479083&r=1607766" target="_blank"> Let us know how it goes. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
FunkiG Posted May 14 Author Share Posted May 14 Yes it works - many thanks!! creedon 1 Link to comment
FunkiG Posted May 26 Author Share Posted May 26 May I ask a follow up question? I include Amazon code blocks on some of my pages. For example, see https://www.jazzikology.com/albums-song-for-my-father . Those "buy now on Amazon" blocks do not open in a new browser tab. I tried typing in target="_blank" in the code block , but it did not work. Do you know how to effect opening them in a new browser tab? Link to comment
creedon Posted May 27 Share Posted May 27 20 hours ago, FunkiG said: Those "buy now on Amazon" blocks do not open in a new browser tab. I tried typing in target="_blank" in the code block , but it did not work. They are working for me. Have you tried viewing your site in private browsing? Does it work for you then? Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment