Support » Plugin: Email Before Download » Using code instead of a shortcode for several downloads on the same page

  • Hello,

    I have 3 buttons on one page, each for different PDF downloads. If I create 3 different, dedicated EBD instances is there a way to trigger the popup programmatically per button?

    I am currently using a JavaScript onclick event:
    <button type="button" class="blue-btn lead" onclick="window.location='<?php echo bloginfo('url'); ?>/download/';">Download</button>

    Thanks for your time. If EBD gets the job done I will absolutely donate.

    • This topic was modified 1 year, 5 months ago by  BenRacicot.
Viewing 1 replies (of 1 total)
  • Popup? EBD doesn’t have anything to do with popups. You’re on your own if you’re trying to make it work in a popup.

Viewing 1 replies (of 1 total)
  • The topic ‘Using code instead of a shortcode for several downloads on the same page’ is closed to new replies.