• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Download Monitor & Manager Plugin

Simple Download Monitor & Manager for WordPress

  • Home
  • Documentation
  • Addons/Extensions
  • Login
    • Sign In
    • Edit Profile
    • My Downloads
  • Support
    • Tutorials
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration
  • Contact Us
You are here: Home / Topics / Style a download as a link instead of button?

[Resolved] Style a download as a link instead of button?

· ·

WordPress Download Monitor Plugin › Forums › Download Monitor Plugin Forum › Style a download as a link instead of button?

  • This topic has 6 replies, 3 voices, and was last updated 4 years, 7 months ago by admin.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • October 8, 2020 at 8:24 pm #1687
    Geocosm_2000
    Participant

    Is there a way to style a download as a link instead of a button?

    I know that I can do a regular link with an href of ?sdm_process_download=1&download_id=1234 however this link is not protected… I prefer to use the short-code which effectively protects this download to anyone who has access to the page.

    I know I can change the styles globally by applying some changes to my css however that would make changes for ALL downloads (and for most I want the button).

    Ideally there’d be a way in the short-code to specify display_as_link=”true” or a new fancy=”4″ or some such mechansim.

    Is this possible?

    October 9, 2020 at 12:07 am #1688
    admin
    Keymaster

    Maybe a download ID can be added in the CSS class so it can be targeted more specifically using CSS. Which shortcode are you using?

    October 9, 2020 at 12:17 am #1690
    Geocosm_2000
    Participant

    Yes, an id or even better a style_class=”link_style” – that way I could use some form of common class across all the link downloads on my site…

    For the most part I’m using the shortcode [sdm_hidden_download…]

    Thanks!

    October 26, 2020 at 8:54 pm #1705
    [email protected]
    Participant

    Can we pick this convo back up? I really don’t like the buttons and would prefer to use links instead. Unlike Geocosm_2000, I don’t need some downloads to be links and some buttons; they can ALL be links. Suggestions? Thanks!

    October 26, 2020 at 11:35 pm #1706
    admin
    Keymaster

    The option to create a custom download link (instead of using the standard button) already exists:

    Direct Download Link (Text Link for a Custom Button)

    If you are talking about changing the plugin’s behavior whereby you want the download button inside a fancy display to be a link, then that won’t work. A link cannot submit any information when clicked (a button can). A button can submit the form with other hidden information that is required by the plugin to offer some of the functionalities.

    November 3, 2020 at 9:33 pm #1708
    [email protected]
    Participant

    Thanks for replying, admin! I’ve used that link trick in the past, but now I want to use a link to trigger the Squeeze Form addon specifically — not just the download. Is there a way to link to the addon?

    November 4, 2020 at 12:18 am #1709
    admin
    Keymaster

    The actual squeeze form needs to submit the name and email details of the user which needs a form submission. So this is not possible for the standard squeeze form.

    You can perhaps use the 4th template which has a link option to trigger the popup containing the squeeze form. So the initial trigger is a link to show the squeeze form. Try the template 4 option to see how it works:

    Squeeze Form Addon for Simple Download Monitor

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Log In

Primary Sidebar

Featured Addons

  • Squeeze Form Addon
  • Hidden Downloads Addon
  • Amazon S3 Integration

Support Links

  • Support Forum

Search

Featured Plugin

WP Express Checkout Plugin

Start managing and tracking your file downloads with the simple download monitor plugin. Download Now

Copyright © 2025 | Simple Download Monitor | A member of the Tips and Tricks HQ family.