WordPress.org

Ready to get started?Download WordPress

Forums

Download Monitor
Download with Button href trouble (1 post)

  1. jumust
    Member
    Posted 3 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic