• I’m using elementor on my wordpress site with a button link to a MS word file. It is supposed to download the file to the computer but it does nothing. It does not even appear on the screen.

    I created the sample test link to a test MSWord file that is saved in the Library in wordpress. I have also check off the following setting for the link button:
    – Open in New Window
    – Add nofollow

    Nothing works. I even deactivated Every plugin on the website except elementor and the problem still persisted.

    I have read many forums and tried every possible scenario but can’t figure it out. I welcome any recommendations.

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi

    If you already checked the settings and deactivated all other plugins without success, there might be a few other things you can try to troubleshoot the issue with the button link not downloading the MS Word file. Here are some suggestions:

    1. Confirm the file path: Double-check that the path to the MS Word file is correct. Make sure the file is actually stored in the WordPress library and that the link points to the correct location.
    2. Check file permissions: Ensure that the file has the appropriate permissions for downloading. Sometimes, incorrect file permissions can prevent downloads from occurring. Set the file permissions to allow public access and downloads.
    3. Verify file format and MIME type: Make sure that the MS Word file you are linking to has the correct file format (.doc or .docx) and that the MIME type is set properly. The MIME type should be set to “application/msword” for .doc files or “application/vnd.openxmlformats-officedocument.wordprocessingml.document” for .docx files.
    4. Test with a different file: Try linking to a different file, such as a PDF or a plain text file, and see if it downloads properly. This will help determine if the issue is specific to MS Word files or if it’s a general problem with downloading any file.
    5. Theme compatibility: Test if the issue persists with a default WordPress theme like Twenty Twenty-One or Twenty Twenty-Two. This will help determine if the problem is related to your current theme’s compatibility with Elementor.
    6. JavaScript conflicts: Inspect the browser console for any JavaScript errors that might be interfering with the download functionality. Conflicts between JavaScript code from different plugins or themes can sometimes cause issues like this.
    Thread Starter parhamm

    (@parhamm)

    Thank you for the detailed reply. I tried each the following without success. See my response in CAPS:

    1. Confirm the file path: Double-check that the path to the MS Word file is correct. Make sure the file is actually stored in the WordPress library and that the link points to the correct location. THANK YOU, PATH IS CORRECT. IF I RIGHT CLICK ON THE BUTTON LINK AND SELECT “SAVE LINK AS”, I CAN SAVE IT THAT WAY. OTHERWISE IT DOES NOT DOWNLOAD ANY OTHER WAY. YOU CAN TRY IT TOO: https://qacanada.ca/test/
    2. Check file permissions: Ensure that the file has the appropriate permissions for downloading. Sometimes, incorrect file permissions can prevent downloads from occurring. Set the file permissions to allow public access and downloads. THANK YOU, THE FILE PERMISSION ARE GOOD. NO RESTRICTIONS
    3. Verify file format and MIME type: Make sure that the MS Word file you are linking to has the correct file format (.doc or .docx) and that the MIME type is set properly. The MIME type should be set to “application/msword” for .doc files or “application/vnd.openxmlformats-officedocument.wordprocessingml.document” for .docx files. THANK YOU, THIS IS EXACTLY HOW THE FILE TYPE IS SET
    4. Test with a different file: Try linking to a different file, such as a PDF or a plain text file, and see if it downloads properly. This will help determine if the issue is specific to MS Word files or if it’s a general problem with downloading any file. THANK YOU, I TRIED THIS WITH A PDF AND GOT THE SAME RESULT.
    5. Theme compatibility: Test if the issue persists with a default WordPress theme like Twenty Twenty-One or Twenty Twenty-Two. This will help determine if the problem is related to your current theme’s compatibility with Elementor. THANK YOU, YES I TRIED SWITCHING TO THE THEME TWENTY TWENTY THREE AND ASTRA THE RESULTS WERE THE SAME.
    6. JavaScript conflicts: Inspect the browser console for any JavaScript errors that might be interfering with the download functionality. Conflicts between JavaScript code from different plugins or themes can sometimes cause issues like this. THANK YOU, THIS ONE IS OVER MY HEAD. I’M NOT SURE WHAT KIND OF ERROR TO LOOK FOR. CAN YOU PROVIDE SOME DIRECTION?
    • This reply was modified 1 year, 6 months ago by parhamm.

    Hi

    Can you please record a video about this issue and point out how you put the link for the button download, and with the file putting your media library

    Thread Starter parhamm

    (@parhamm)

    Hi there, here’s a screen video capture.

    https://watch.screencastify.com/v/EgI9GBIbHOMG8vRyTj7D

    You will notice the file in the WordPress Library repository is in the following format:
    File name:?Testfile.docx
    File type:?application/vnd.openxmlformats-officedocument.wordprocessingml.document

    In the Elementor Page Editor window, you’ll see the settings for the link to the Testfile.docx file. When the file didn’t download, I even tried these custom attributes “download | Testfile.docx” but that also didn’t work.

    On the preview screen, you will see that the link tries to download, but it can’t succeed. The only way for it to download this if you right click on the link and click “Save link as”

    Hi

    I’m sorry, but there is an issue with the video.

    Please resend it.

    Thread Starter parhamm

    (@parhamm)

    Very strange, I have re-recorded it here. Please let me know if you can see it this time.

    Hi

    let set is there some third party plugin issue or there issue,To rule out the possibility of a plugin or theme conflict, please deactivate all your plugins (besides Elementor and Elementor Pro) and then update to the newest version If it solves the issue reactivate them one by one to find the culprit. If it didn’t help, switch your theme (temporarily) to a default WP theme such as Twenty Nineteen and see if it makes any difference.
    Also, this could happen due to our Elementor performance experiments you can try to deactivate them. To deactivate them you can go to Elementor > settings > features
    Performance features currently in the experimental stage are:

    • Optimized DOM Output -This experiment is designed to improve performance by decreasing the number of wrapper elements present in the HTML generated by Elementor.
    • Improved Asset Loading – Should improve page speed by only loading the functionalities needed by that page. This experiment reduces the amount of code loaded by default, which translates to significantly faster page load times and better page speed scores.
    • Improved CSS Loading – An experiment that only loads the CSS of widgets on a page once, in order to prevent multiple requests to the server. With this experiment, CSS files are loaded as inline style tags.
    • Inline Font Icons – This experiment renders icons as SVGs without loading the Font-Awesome and eicons libraries. Since SVGs are vector-based images which are rendered using the browser’s engine, they do not increase server requests which improves performance
    Thread Starter parhamm

    (@parhamm)

    Thank you for the suggestions. I tried all of them with no success.

    Hi

    Please reinstall Elementor, Elementor Pro, and WordPress.

    Thread Starter parhamm

    (@parhamm)

    Hi there so I uninstalled and reinstalled Elementor and reinstalled WordPress but no luck.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Forcing button to download linked file’ is closed to new replies.