• 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 / Adding Last name and Zip Code to Fancy 4 Template

[Resolved] Adding Last name and Zip Code to Fancy 4 Template

· ·

WordPress Download Monitor Plugin › Forums › Download Monitor Plugin Forum › Adding Last name and Zip Code to Fancy 4 Template

Tagged: custom, feature, template

  • This topic has 8 replies, 3 voices, and was last updated 1 week, 1 day ago by admin.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • September 22, 2020 at 1:48 am #1666
    handinhand
    Participant

    In order to sync with my email client, I need to collect zip code. I’d like to also collect last name. Is there a way to do this?

    Thanks,
    Blithe

    September 22, 2020 at 3:06 am #1667
    admin
    Keymaster

    No, it doesn’t have an option for it at the moment.

    September 24, 2020 at 2:55 pm #1674
    handinhand
    Participant

    There is no way to add a custom field of any kind? Many list builders require a zip code.

    October 4, 2025 at 10:01 am #2453
    noxigen
    Participant

    This post is very old but being able to customize, clone and add new templates would be very beneficial.

    October 6, 2025 at 1:09 am #2461
    admin
    Keymaster

    When it comes to customizing the code, it is advisable to utilize hooks (action hook or filter hooks).

    We are generally very receptive to incorporating new action or filter hooks into our plugins or addons. If you have specific suggestions, please feel free to indicate the exact file and line number where you believe a hook would be beneficial. We will add the hook and give you an update.

    October 6, 2025 at 11:08 am #2462
    noxigen
    Participant

    What I’m suggesting is the ability to clone the existing templates you have or create new ones to customize the look of the download button or widget. So where SDM generates a download form with the following button HTML:

    <a id="sdm-hd-69a63dc7-btn" href="#0" class="sdm_download white" title="some_file.zip">Download Now</a>

    Giving us the ability to define our own templates, we could customize the button portion of the HTML with other information and style like so:

    <b>Some File</b><br />
    <a id="sdm-hd-69a63dc7-btn" href="#0" class="sdm_download white" title="some_file.zip">Get this/a>
    <div>Size: [sdm_item_file_size]</div>
    <div>[some_custom_field]</div
    <small class="text-muted">[sdm_description]</small>
    October 6, 2025 at 11:46 pm #2463
    admin
    Keymaster

    Thank you for the details. We will add an option for this.

    October 7, 2025 at 3:30 pm #2464
    noxigen
    Participant

    Awesome. Thank you.

    October 9, 2025 at 7:36 am #2495
    admin
    Keymaster

    We have updated the addon so a template file can be customized.

    If you’d like to modify one of the Squeeze Form templates from the Squeeze Form Addon (for example, the Fancy 1 template), you can override it by placing a customized copy in your active theme’s folder.

    Follow these steps:

    1) Locate the original template file in the Squeeze Form addon’s directory:

    2) Copy the file and place it in the following location within your active theme:

    sdm-squeeze-form/templates/sdm-sf-template-1.php

    3) Edit and customize the copied template file as needed.

    your-active-theme-directory/sdm-squeeze-form/sdm-sf-template-1.php

    The addon will automatically detect and use the template file from your theme folder instead of the default one.

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 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.