WordPress.org

Support

Support » Plugins and Hacks » Download Monitor » Download with Button href trouble

Download with Button href trouble

  • Hi,
    I would like to add the download link to my button but it doesn’t work:
    <a class="featured button" style="padding:10px 49px;" href="">Learn More</a>

    I tried to put <?php echo do_shortcode('[download id="1"]'); ?>
    in the Href but the download doesn’t work.

    Now I have the code
    <a class="featured button" style="padding:10px 49px;" href="<?php echo do_shortcode('[download id="1"]'); ?>">Learn More</a>

    I may have done something wrong, how can I make it work with my button?

    Thanks

  • The topic ‘Download with Button href trouble’ is closed to new replies.
Skip to toolbar