How to Create a File Download Button in Elementor

Поделиться
HTML-код
  • Опубликовано: 12 сен 2024

Комментарии • 75

  • @cpalma
    @cpalma 2 года назад +30

    For those that are having trouble with it opening in a new tab instead of downloading, I found out that the URL was missing https which was causing it not to work for me. I switched it from HTTP to HTTPS and it fixed the functionality.

    • @Sharmajikivideos
      @Sharmajikivideos 2 года назад

      How did you switched image's url http to https?

    • @tamil_dubbed123
      @tamil_dubbed123 2 года назад

      thanks man love your from pakistan

    • @nickengland7342
      @nickengland7342 Год назад

      awesome.. that saved me a ton of swearing.

    • @hanci
      @hanci Год назад

      you are a herom thanks

    • @jaredspooley9273
      @jaredspooley9273 Год назад

      You are a legend! Been really scratching my head at this one for a few weeks, i was only having this issue on Mobile which was throwing me off but this fixed it! :)

  • @OmenkaUlonka
    @OmenkaUlonka 2 года назад +5

    Thank you Aviva! Currently working on a page where people can download audio files.. and was scratching my head wondering how to do it, poised my finger to search on google and the notification came in.😀😀 What a great coincidence!

  • @get8bit
    @get8bit 2 года назад +14

    I've been using add ons for this, but this is so much simpler. Please do more tuts on custom attributes!

    • @brianwoodlief
      @brianwoodlief 2 года назад +1

      Yo! Devin good to see you here. I recognize your profile from LinkedIn

    • @get8bit
      @get8bit 2 года назад

      @@brianwoodlief Hey Brian! Small world.

  • @appski-skicoach4994
    @appski-skicoach4994 2 года назад +5

    For working you must change : http to https in the button link !

  • @ulrichbecker9333
    @ulrichbecker9333 Год назад

    I've been googling for a while before you showed me how to download an image as file, not displaying it: "Custom Attributes". Thanks a lot for that.

  • @DKingFisher
    @DKingFisher 3 месяца назад

    Video starts at 2:34 Saved your time

    • @DKingFisher
      @DKingFisher 3 месяца назад

      Well it didn't work for me sadly. I was trying an audio file.

  • @mhthmusicvideos
    @mhthmusicvideos 2 года назад +4

    Not very clear. Where are you gettng the name 'Syllabus' from? Do you just need a word from the PDF name?

    • @mochamadrizky8610
      @mochamadrizky8610 2 года назад

      just input in custom attributes

    • @flatspaces3876
      @flatspaces3876 2 года назад

      Yes, your file name is not 'syllabus' it is much longer. I have tried the same and cannot get it to download. I just opens to review. If the file name is test.pdf, what do i enter? I've tried everything, nothing works. So frustrating.

    • @Elementor
      @Elementor  2 года назад

      Hi mhthmusicvideos and Flat Spaces, the download file is being pulled from the link field , so you can use any name you'd like in the custom attribute. In this case we named it "Syllabus" to make it easy for our visitors to find and keep track of it after downloading.

    • @flatspaces3876
      @flatspaces3876 2 года назад

      @@Elementor I see, thank you, however I still cannot get it to work. I realize this is a simple task but all it does is open the file (in this case pdf) to view. Is there a setting someplace that needs to be addressed? I opened a ticket with elementor about this but have not heard back yet. I appreciate your help. I tried adding the # sign in the link and I thought it worked, but turns out that was not the fix either. Interesting update: I tried it on 5 different sites and it only works on the one site that does not have the most updated version if Elementor Pro (still at 4.3.3). The other 4 sites do have the most updated versions, but the download does not work. What do you think could be wrong?

    • @Elementor
      @Elementor  2 года назад

      Hi @@flatspaces3876, make sure you are using "download: in the custom attribute field. If it's still not working, please feel free to post your question on the Elementor forum: forum.elementor.com/getting-started-7/how-to-create-a-file-download-button-tutorial-10152, where you can you can share a screen recording and/or screenshots to help pinpoint the issue.

  • @FahmedulIslamSuheen-c3i
    @FahmedulIslamSuheen-c3i 10 месяцев назад

    Thanks for this super quick and easy solution.

  • @JanoToo
    @JanoToo 2 года назад

    Brilliant! It worked. lightweight, as no add on or plugins required.

  • @danielhurst8443
    @danielhurst8443 2 года назад +1

    This is genius!! Thanks for this super quick and easy solution.

  • @AdADglgmutShevanel
    @AdADglgmutShevanel 9 месяцев назад

    Thanks for the super simple video!

  • @borisnieminen677
    @borisnieminen677 5 месяцев назад

    Excellent, thanks for this easy to follow tutorial. What is the purpose of adding the Attribute?

    • @Elementor
      @Elementor  5 месяцев назад

      @borisnieminen677, great! Typing "download" is to get your browser to save it as a file, rather than opening it directly in the browser. Typing the name after is to make sure it's saved with a recognizable file name.

  • @JhoomIndiaEntertainment
    @JhoomIndiaEntertainment 2 года назад

    Nice... 😍😍😍

  • @carolehavercroft3961
    @carolehavercroft3961 2 года назад

    Thanks - simple and easy to follow

  • @muhiddinnuriddinov446
    @muhiddinnuriddinov446 Год назад

    Very helpful, I used with OPEN tag

  • @CarlOttersen
    @CarlOttersen 2 года назад +2

    Nice. How do you add a capture for visitor's name and email address before download?

    • @deanontheinterwebs
      @deanontheinterwebs 2 года назад +1

      You could use a form -- either in a pop up or new page. Then in the form settings create a "thank you page" that displays after successful submission of the form (that isn't anywhere in your nav). Put the download on the thank you page.
      If you really want to ensure the email address is real, you could tell your visitors you'll email them the download link. But that can be a bit abrasive (and still circumvented) depending on your relationship so far and the value they've received in exchange. So you'd want to research and test your options.

    • @CarlOttersen
      @CarlOttersen 2 года назад +1

      @@deanontheinterwebs Thanks Dean! Ive tried some plugins that, at a primitive level, do this, but they never feel/look good and are not maintained. This sounds like a good workaround

  • @jestermestuff
    @jestermestuff 2 года назад +2

    Works on Chrome but not Firefox or Edge. The latter 2 options opens the file (pdf) on top of my page. Does not allow a save option as a default
    FIX - just open in a second window option with no follow and it works

  • @RamakrishnanRukmini
    @RamakrishnanRukmini Год назад

    Very good. I want to know, whether we can add macro enabled excel files?

  • @TheBrixproductions
    @TheBrixproductions 2 года назад

    Thx! Helped a lot!

  • @presidentresident
    @presidentresident 6 месяцев назад

    Can this be combined with a download manager so that things like number of downloads can be tracked?

  • @albane_designer
    @albane_designer Год назад

    Hi, thanks for the helpful tutorial! Is it possible to sell the download ? I mean to sell the file to download to customers? Thanks for your help!

  • @kev1n-mrairsoft
    @kev1n-mrairsoft Год назад

    nice vid, helped me a lot

  • @indiamaycock
    @indiamaycock 2 месяца назад

    This also won't work if you have any image compression plugin's activated like Smush. Have to deactivate them

  • @A_LINE_Clothing
    @A_LINE_Clothing 2 года назад +1

    It works on preview but when the page is live and public, it doesn't download the file, it just opens a new tab instead. I've tried on Chrome, Edge and Safari and doesn't work on all. Can somebody please help?

  • @toluandrew1500
    @toluandrew1500 Месяц назад

    This template is no longer available on elementor, can anyone recommend any to me? Thank you in advance

  • @improvementor3861
    @improvementor3861 2 года назад

    Thank you.

  • @naspre6736
    @naspre6736 2 года назад

    Thank you!

  • @ccuny1
    @ccuny1 2 года назад

    Very useful for a beginner like me. Thank you. But is it possible using Elementor to have a choice to display the file rather than download it?

    • @deanontheinterwebs
      @deanontheinterwebs 2 года назад +1

      To do that you just skip the last step. Ie, don't add the custom attributes. In that case clicking the button will display the linked file. You should probably change the button text too, as it prompts to "download" the file.

    • @ccuny1
      @ccuny1 2 года назад +1

      @@deanontheinterwebs So simple. Tank you very much Dean. Sorry about the naive question: total newb here.

    • @deanontheinterwebs
      @deanontheinterwebs 2 года назад

      @@ccuny1 You're welcome! Happy to be able to help :)

    • @Elementor
      @Elementor  2 года назад +1

      Dean, thanks so much for helping out our fellow web creators! 🤩

  • @Hashterix
    @Hashterix 8 месяцев назад

    Yeah great but what about when you need to lift and shift the site off local or staging over to its live address? You've just pasted a localhost URL as the link to the file. I'm trying to setup every link through the site using internal URL dynamic tags so that when it comes to shift the site over to its live domain, everything updates automatically and keeps working. This method surely means you have to manually update every single download button through the site during deployment?? Surely there is a dynamic method?

    • @Elementor
      @Elementor  7 месяцев назад

      @Hashterix, if it's an internal link, you can click the Dynamic tags icon, select Internal URL, click the wrench icon, select Media, and find and select your downloadable file.

    • @Hashterix
      @Hashterix 7 месяцев назад

      @@Elementor That doesn't work. If you have no value set it'll take you to the Wordpress attachment page (awful/yuck/don't want), and if you set the download value, it doesn't download the file, it downloads the .htm of the attachment page instead!

  • @zaighambajwa704
    @zaighambajwa704 2 года назад +1

    Not Downloading the Files. Instead just Opening them in the Window. And not functioning on Mobile

  • @infoplantao
    @infoplantao 2 года назад

    Please do more tutorias on Hard Works on Elementor!

  • @andrewtatefanszone
    @andrewtatefanszone 2 года назад

    Thank you so much

  • @andrewdowniephd
    @andrewdowniephd 2 года назад

    Thanks for this tutorial. I have tried setting it up but the pdf file opens in the browser rather than downloading. Any ideas where I am possible going wrong?

    • @Radu_NG
      @Radu_NG 2 года назад +2

      Hey. Don't forget the attribution "download|filename"

  • @user-zz7yg2pv2y
    @user-zz7yg2pv2y 10 месяцев назад

    quick question, is Elementor Pro being used in the video or the normal basic Elementor.
    I just started using elementor and I have the basic one, i have been watching RUclips videos online to learn how to use it, and I see everyone has a few extra things, such as inner section, and the ability to ass column, in the "Basic" section, whereas I only have Container.
    I would appreciate it if anyone could tell me why :)

    • @avivaelementor
      @avivaelementor 10 месяцев назад +1

      @user-zz7yg2pv2y we used Elementor Pro, but you can use this method for both the free and Pro versions of Elementor. The Sections and Inner sections that you've seen are the older way of building in Elementor. Containers are a newer way to work in Elementor. While you can switch back to Sections, you might lose any work you've already done in Containers, so I recommend staying with Containers. They give you more flexibility, better control over responsive settings, are better optimized, and newer features are often built to work with Containers. Please watch this video for more information about Containers: ruclips.net/video/RkAXKKb6iXE/видео.html. Hope this helps 😊

  • @emailjough
    @emailjough 2 года назад

    this works with zip files too?

    • @Elementor
      @Elementor  2 года назад

      Hi jough, it sure does!

  • @DieulinLafortune-hp8pp
    @DieulinLafortune-hp8pp 5 месяцев назад

    it will be amazin if elementor has theme builder app

  • @aravindaby4152
    @aravindaby4152 2 года назад

    This works on chrome but not on firefox.

  • @flatspaces3876
    @flatspaces3876 2 года назад

    Looks simple but I have tried it at least 20 times , doesn't work.

    • @Elementor
      @Elementor  2 года назад

      Hi Flat, which part exactly isn't working for you? If you'd like to share a screen recording and/or screenshots to help pinpoint the issue, please feel free to post your question on the Elementor forum: forum.elementor.com/getting-started-7/how-to-create-a-file-download-button-tutorial-10152

  • @shinraorg
    @shinraorg Год назад

    well that was easy.

  • @mohammednoorbari6845
    @mohammednoorbari6845 Год назад

    YOU ARE SOOOOOOOOOOO SWEET

  • @MajharulAsif
    @MajharulAsif 2 года назад

    elementor - who named this?

  • @deduice
    @deduice 2 года назад +4

    Give us a MegaMenu