Search Results for 'download link'

Viewing 25 results - 26 through 50 (of 9,410 total)
  • Author
    Search Results
  • #208389

    Fredrik Ålund
    Participant

    I want my users to be able to download a program archive and a license file.

    I have the packages working, i.e., when my users request a download link they get an email with a download button and clicking that results in the program archive being downloaded. Today I wanted to try this new scheme so I opened my existing package and dragged a file to the “Attach File” pane and it was added to the list of attached files. However, when I request a download link, the only file I get is the last added file, not both.

    I have read that in the Pro version it should be possible to have it create one zip file of all attached files — how can I do that? What am I doing wrong? I have experimented with the settings “single file download” as well as the “cache zip file” but nothing I do seems to result in a multi-file download.


    Doug Nix
    Participant

    Hi WPDM team,

    I’m writing to report an interaction between WordPress Download Manager (WPDM) and the Rara Business theme that consistently crashes WPDM single package pages. I’ve included the environment details, the reproducible error, and the workaround we implemented.

    Environment

    WordPress: 6.6.2

    PHP: 8.2 (running on WHC / cPanel with zlib compression enabled)

    WPDM: 3.2.99 (Free)

    Theme: Rara Business (latest from WordPress.org, v1.2.9)

    Hosting: Linux/Apache with Cloudflare in front

    Permalink base for WPDM packages: /files/<slug>/

    Problem description

    After switching the WPDM package permalink base to /files/, visiting a package single page at /files/<package-slug>/ triggers a fatal error.

    Stack trace excerpt:

    PHP Fatal error: Uncaught TypeError: explode(): Argument #2 ($string) must be of type string, WP_Error given
    in /wp-content/themes/rara-business/inc/template-functions.php:433
    #0 /…/template-functions.php(231): rara_business_breadcrumb()
    #1 /wp-includes/class-wp-hook.php(324): rara_business_content_start(”)
    #2 /wp-includes/plugin.php(517): WP_Hook->do_action()
    #3 /wp-content/themes/rara-business/header.php(59): do_action(‘rara_business_content’)
    #4 /wp-content/themes/rara-business/single.php(12): get_header()

    Root cause:
    The theme’s rara_business_content_start() calls rara_business_breadcrumb(), which assumes a post category context. On WPDM singles (custom post type wpdmpro), it receives a WP_Error. This value is passed directly into explode(), producing the fatal.

    What we tried

    Switched to Twenty Twenty-Five → WPDM singles load normally.

    Disabled all MU plugins and caching layers → crash persists with Rara Business.

    Built a child theme to gate the do_action( ‘rara_business_content’ ) call → functional but brittle and caused styling regressions.

    Minimal, upgrade-safe workaround

    We developed a compatibility plugin (wpdm-rara-compat.php) that:

    Removes the theme’s content-start callback from the rara_business_content hook.

    Re-adds it with a guard so it runs everywhere except on WPDM singles.

    Restores normal page layout on WPDM singles by injecting wrapper markup (container/row/content/sidebar) around the_content and aligning the page title.

    Plugin code:

    <?php
    /**
    * Plugin Name: WPDM × Rara Business Compat
    * Description: Prevents Rara breadcrumb crash on WPDM singles, restores layout.
    * Version: 1.0
    */

    add_action(‘after_setup_theme’, function () {
    // Remove theme’s content-start callback
    remove_action(‘rara_business_content’, ‘rara_business_content_start’, 10);

    // Re-add guarded callback
    add_action(‘rara_business_content’, function () {
    if ( is_singular([‘wpdmpro’,’wpdm_package’]) ) return;
    if ( function_exists(‘rara_business_content_start’) ) {
    rara_business_content_start();
    }
    }, 10);
    }, 99);

    // === Layout wrapper for WPDM singles ===
    add_filter(‘the_content’, function ($html) {
    if (!is_singular(‘wpdmpro’) || !in_the_loop() || !is_main_query()) return $html;

    // Prevent double wrapping
    if (str_contains($html, ‘class=”site-content single-wpdmpro”‘)) return $html;

    ob_start(); get_sidebar(); $sidebar = ob_get_clean();

    return
    ‘<div id=”content” class=”site-content single-wpdmpro”>’ .
    ‘<div class=”container”><div class=”row”>’ .
    ‘<main id=”primary” class=”content-area col-lg-8″><div class=”site-main”>’ .
    $html .
    ‘</div></main>’ .
    $sidebar .
    ‘</div></div>’ .
    ‘</div>’;
    }, 20);

    // Align WPDM single title with content column
    add_filter(‘the_title’, function ($title, $post_id) {
    if (is_admin() || !is_singular(‘wpdmpro’) || !in_the_loop() || !is_main_query()) return $title;
    if ((int)$post_id !== (int)get_queried_object_id()) return $title;
    if (strpos($title, ‘wpdm-title-wrap’) !== false) return $title;

    return ‘<div class=”container”><div class=”row”><div class=”col-lg-8 wpdm-title-wrap”>’ .
    $title .
    ‘</div></div></div>’;
    }, 10, 2);

    Current status

    WPDM singles now load correctly at /download/<slug>/. Example: https://complianceinsight.ca/download/press-release-2025-09-02/

    Site styling restored (title + content aligned with container/row).

    No more fatals. Logs show only benign PHP 8.2 notices from the theme’s Customizer notice class (Deprecated: Creation of dynamic property …).

    Suggestions

    WPDM resilience: Adding a defensive check around breadcrumb/taxonomy lookups for custom post types would help WPDM work out-of-the-box with themes that assume posts/categories.

    Theme interaction doc: A short WPDM doc page on “Theme compatibility” (especially around breadcrumb hooks) would help other users avoid this.

    Optional hook: A dedicated filter to let developers wrap WPDM singles in their theme’s grid without intercepting the_content would simplify compatibility work.

    Happy to provide a staging URL or further debug info if you’d like to see the exact crash path in action.

    Thanks for your continued work on WPDM—outside this theme-specific issue, the plugin has been solid.


    Tahasin
    Moderator

    You can customize the link template from Downloads > Templates > Link Template section.


    Sergio Fastellii
    Participant

    Hello Nayeem Riddhi,
    Thanks for the quick reply 🙂

    For #1, yes. As you can see in your screenshot there are these fields: name, user, title, email, about me. What if i need to have “company name” and “telephone”? How could i add it?

    For #2 yes. There’s your download manager icon/logo. How could i change it or at least remove it?

    For #3, ok I checked settings (as suggested by you) but the mail doesn’t arrive. I’ve to check site settings and configuration I think. It’s strange because registration mail arrives.

    For #4, in all the “my downloads section”, on drop zone (no files here yet, or),

    For #5, A typical customer isn’t able to insert a photo link; they need the possibility to upload an image file from their computer. I recommend this feature. In the meantime, I’ve had to hide this feature. What about the bug on cancelling uploads by customers?

    Best regards


    Jason
    Participant
    This reply has been marked as private.

    Jason
    Participant
    This reply has been marked as private.

    Jason
    Participant

    Hi guys,

    We’re building a new website and have setup Download Manager Pro.

    Currently the permalinks are not linking to the files and just open in a page which requires you to click on the link again to download them. Is there a setting in Download Manager Pro to make the files download automatically from the permalink?


    Joel Goldstein
    Participant

    I’m using the Newsletters plugin to alert subscribers when a new package is uploaded, specifically using the “Send Message To Subscriber” section on the “Add New File” page of the Download Manager.

    Currently the email arrives with whatever text was input in the section above, plus a generic addition:

    Check Updates (linked to website)

    Best Regards,
    Support Team
    (link to website)

    I want to use a custom template for this, but cannot find anywhere in the backend of the website or in the plugin files to do this.

    #208328

    Tahasin
    Moderator

    Hello,

    Thanks for reaching out.

    To prevent bots from downloading public files, please use this Mask Download Link feature available here Downloads > Settings > File Download. You can also use the Captcha lock option.

    Regards

    #208326

    Nayeem Riddhi
    Moderator

    Hello Shane W,

    Hope you are well. Thanks for writing to us. You can check these our shortcodes which you want use also can see the demos https://www.wpdownloadmanager.com/doc/short-codes/,

    You can check our template tags here also image gallery tags available, https://www.wpdownloadmanager.com/doc/templates/template-tags/, which you can use in your page/link templates. For customizing templates, you can use our Pro plugin. Please kindly check and let me know.

    Thank you and kind regards

    #208321

    Shane W
    Participant

    Hi,

    Amazing plugin. Eventually I plan to buy Pro, but for now I’m still playing around with it. Some questions:

    Similar to a stock photo site, I want to be able to just have an image gallery with a link on each image (no buttons, title or description etc), that takes you to the image page, then on the linked image page I want the download button and description.

    Do I need to use CSS to style this and create the linked page in the Free version? In the Pro version is there more customization for this?

    Thanks!


    N. Schoop
    Participant

    Problem: Clicking the close button on WPDM download modals doesn’t close them. Instead, each click creates a duplicate modal instance in the DOM.
    Environment:

    WP Download Manager: 6.8 (?) cant find a more precise version anywhere in settings.
    PHP: 7.4
    Theme: GeneratePress
    Browsers: Chrome & Firefox & Edge (latest)

    What Happens:

    enter password & Click download link → modal opens correctly
    Click Close/X button → modal stays open
    DOM inspector shows multiple div.modal.fade.show elements (one per click)
    Only way to exit is refreshing the page or closing the tab

    Console Shows:
    ⚠ JQMIGRATE: jQuery.fn.click() is deprecated
    ⚠ JQMIGRATE: jQuery.fn.unbind() is deprecated
    ⚠ JQMIGRATE: jQuery.fn.bind() is deprecated

    on close click it shows in console (per click)
    Object { 0: div#__boot_popup.modal.fade.show, length: 1 }
    Object { 0: div#__boot_popup.modal.fade.show, length: 1 }
    Object { 0: div#__boot_popup.modal.fade.show, length: 1 }
    Object { 0: div#__boot_popup.modal.fade.show, length: 1 }


    Werner Grohmann
    Participant
    This reply has been marked as private.
    #208274

    Hayden Hill
    Participant

    Thanks Nayeem, that’s perfect. I have configured the download limit plugin and it works great. I love the plugin so far!

    I have some other questions…

    1) Archive Page Table Header
    I can see the screenshot here: https://ibb.co/nsVMnjqZ

    Incase you can’t see it I will explain the issue:

    On the download Archive page, I’m using this shortcode:

    [wpdm_archive_compact template=”default” order_by=”post_title” order=”ASC” items_per_page=”12″ cols=2]

    This creates a table with the header items “Search Box” | “Categories” | “Order By” | “Order”

    Is it possible to change or remove the header items/columns, as I don’t want to have “Order By” | “Order” ?

    —–

    2) Remove Link To Download Pages

    Currently all downloads/packages listed on the website (either embedded via shortcode or listed in the Archive page) have clickable titles which take the user to the download page, for example website.com/download/{download-name}

    Is it possible to remove the clickable title link, so that the title is just regular text and not a hyperlink ?

    I’d like to hide the actual download pages so that they are not accessible to users or search engines.

    —–

    3) PDF Preview Add On & Settings

    I’m struggling to find the PDF preview add on in my download list.

    The files will only be available to specific wordpress users, and I’d like to show a preview with a stamp or watermark on top.

    If the user downloads the file, the stamp of watermark is then removed.

    I see that my options are either [pdf_thumb] or [doc_preview], which one is suitable for what I want to achieve here?

    Is it possible to trigger the PDF preview from a button, for example each download would have 2 buttons “preview” or “download”.

    —–

    Many thanks,
    Hayden

    #208263

    Hayden Hill
    Participant

    I am trying to add the “download limit” feature but I don’t find that Plugin in my “downloads” section for the Full Access Pass. Please see the screenshot here: https://ibb.co/p6v4Njrg

    I also have some other questions:

    1) For the Archive page, is it possible to change or hide the items in the top of the table such as “Order By” and “Order” ?

    2) Is it possible to remove the link to the download page?

    Here’s a screenshot: https://ibb.co/nsVMnjqZ

    Thanks,
    Hayden

    #208238

    Tahasin
    Moderator

    Hello, Andrea

    I hope you are doing well and thanks for reaching out.

    [wpdm_simple_search template=”link-template-card” cols=2 ]

    This short-code is coming from WPDM Direcotry Add-on, that is why it’s not working.

    Yes, it is possible to create a input field for custom fields; however, it will require customization. If you’re interested, please feel free to submit a customization request here

    Regards

    #208211

    Christian Graminsky
    Participant
    This reply has been marked as private.

    Andrea Ratti
    Participant

    Hi,
    We need to create a page with one or two text input fields, to search a downloadable content categorized with custom fields. Initially, the page should only contain the search field. Once a text search is performed, the relevant results will be displayed below the search field. The custom fields are created with the plugin Advanced Custom Field by WP Engine.
    Is it possible to create something similar with your system?

    We try this code founded on your documentation but it not run:
    Shortcode – [wpdm_simple_search template=”link-template-cardh” cols=2 ]
    Example page – https://polydentia.ch/download-center/e-ifu/

    Best Regards
    Andrea


    Mark T
    Participant

    Before I purchased the WPDM ACF add-on, I read on the add-on page on your website (https://www.wpdownloadmanager.com/download/advanced-custom-fields/) that you can “8. Customize front-end package form
    ” – but I cannot find any documentation on how this works. I have created field Groups, and fields within those groups. But how do I connect those groups or fields into the Add New Package form on the front-end? I can see screenshots of the outcome of this on the ACF add-on page, but no documentation as to how to do it – please explain how this works. Thanks

    #208033

    Tahasin
    Moderator

    Thank you for sharing the details from DeepSeek.
    However, without being able to check the issue directly on your end, it’s quite difficult for us to identify or suggest what might be making the download link public. There could be several possible reasons, and as I mentioned earlier, files from the media library are publicly accessible.

    Thank you for your understanding.

    #208027

    erik cai
    Participant
    This reply has been marked as private.
    #208025

    Tahasin
    Moderator

    If you upload the files from WordPress Media then the download links will be publicly available. That is why we always recommend to upload files from Attach File section.

    #208024

    erik cai
    Participant
    This reply has been marked as private.
    #208018

    Tahasin
    Moderator
    This reply has been marked as private.

    Tahasin
    Moderator

    In this shortcode:
    [wpdm_all_packages login=1 thumb=1 items_per_page="20" categories="slug1,slug2,..." jstable=1 order_by="field_name" order="ASC/DESC" cols="title,file_count,download_count|categories|update_date|download_link" colheads="Title|Categories|Update Date|Download::155px"]

    If you use login=1, the page will be members-only, and it will show a login form to the visitors who are not logged in.

Viewing 25 results - 26 through 50 (of 9,410 total)