Redirect After Initiating Download

by 3 replies
4
I'm working on a client's site. He wants visitors to buy his MP3 tracks which he's selling on both iTunes and Amazon.

He also wants them to download a different PDF for each song. What I'd like to do is have buy buttons on his WordPress site that would initiate the PDF download when clicked, and at the same time, trigger a pop up window containing links to the MP3 on both iTunes and Amazon so that visitors can use their vendor of choice.

Does anyone know what code would accomplish this for me?
#programming #download #initiating #javascript #pdf #redirect
  • Sounds like you want to use WordPress' jQuery to create a popup with the information. Not sure how much programming experience you have, or if you're looking for a plugin to readily accomplish this for you.
  • a simpler option would be under each song put the icons of Amazon & iTunes + their respective links.
    • [1] reply
    • O.K. That makes sense. But what if the code that would initiate the download of a PDF when someone clicks on the link?

Next Topics on Trending Feed

  • 4

    I'm working on a client's site. He wants visitors to buy his MP3 tracks which he's selling on both iTunes and Amazon. He also wants them to download a different PDF for each song. What I'd like to do is have buy buttons on his WordPress site that would initiate the PDF download when clicked, and at the same time, trigger a pop up window containing links to the MP3 on both iTunes and Amazon so that visitors can use their vendor of choice.