WordPress Download Manager
WordPress Download Manager
  • Pricing
  • Demo
  • Extend
    • Full Access Pack Get access to all items on this site with a BIG DISCOUNT
    • WordPress Form Builder Plugin Try it even if you are using another one and you may thank me later :)
    • Attire All-in-One WordPress Theme, only theme you will ever need

    Add-ons

    • Add-ons
    • Cloud Storage
    • eCommerce Add-ons
    • Email
    • Featured
    • Free
    • Marketing
    • Payment Gateways
    • Social Networking
    • Tools
    • UI
    • Widgets

    Customization Service

  • Discount Packs
  • Docs
  • Support
    • Search in Forum
    • Download Manager Pro
    • Download Manager Free
    • Pro Feature Request
    • How To...
    • Tips and Tricks
    • Contact Us
  • Blog
Login | Register
Forgot Password?
— Don't have an account yet? Register Now —
Home / Topics / Download Manager Free / wpdm_all_packages title direct download hyperlink & open in new tab

wpdm_all_packages title direct download hyperlink & open in new tab

  • This topic has 8 replies, 3 voices, and was last updated 5 years, 10 months ago by Ed Ammendola.
Viewing 9 posts - 1 through 9 (of 9 total)
Aug 1, 2019 at 3:55 pm #110574

Ed Ammendola
Member

I have the free version. My packages are mostly PDFs. I am using (and wish to continue using) the wpdm_all_packages shortcode because of the pagination and layout. I want use the title as a link to directly download as you show in your demo here: https://demo.wpdownloadmanager.com/wpdmpro/package-list-in-responsive-table/ (eliminating the need for a separate button), but with the ability to open in a new tab or page. I see others have asked about opening in a new tab, but I can’t see any of restricted answers. I want to continue using wpdm_all_packages. Isn’t there a way I can change the javascript to do an onclick=(window.open yada yada yada) or is this absolutely impossible the way the component is written?

Aug 4, 2019 at 7:14 am #110671

Salahuddin Ahmed
Member

Hi Ed, You can try the following….

[wpdm_all_packages items_per_page="20" categories="cat slugs,cat slugs,cat slugs" jstable=1 order_by="field_name" order="ASC" cols="page_link,file_count,download_count|categories|update_date|download_link" colheads="Title|Categories|Update Date|Download::155px"]

Let me know if you need further help!

Aug 5, 2019 at 1:28 pm #110693

Ed Ammendola
Member

I admit I may not have been clear with the first part of my question.
You are correct “page_link” does make the title a link, but I don’t want a link to the download page. I want a link to the file itself.

The second part of the question you did not address at all.

To summarize my initial question.
I want the title to be a link that opens the actual file in a new tab.

Aug 6, 2019 at 5:02 am #110726

Salahuddin Ahmed
Member

Yes, That is possible. Are you able to change code by yourself? Or if you would like to take my help. Kindly send me your Admin login details in a private reply. I will be happy to do it for you!

Aug 6, 2019 at 9:23 pm #110750

Ed Ammendola
Member
This reply has been marked as private.
Aug 6, 2019 at 9:25 pm #110751

Ed Ammendola
Member
This reply has been marked as private.
Aug 17, 2019 at 9:01 am #111020

Shafayet
Moderator

Hi,
To keep your customization, please copy create a dir named download-manager inside your active theme dir. Then copy the template file wpdm-all-downloads.php there.

Aug 19, 2019 at 4:02 pm #111083

Ed Ammendola
Member

I need to know how I can retain the class.Package.php file, as well.

I tried moving class.Package.php to both of these places and it is not picked up:
\wp-content\themes\my-theme\download-manager\class.Package.php
\wp-content\themes\my-theme\download-manager\libs\class.Package.php

Aug 20, 2019 at 2:03 pm #111136

Ed Ammendola
Member

You may disregard the last post from me regarding the class.Package.php override. I was able to keep class.Package.php as provided by the most recent version update and make all necessary changes to the wpdm-all-downloads.php file in my custom overrides folder. Thank you.

Viewing 9 posts - 1 through 9 (of 9 total)

The topic ‘wpdm_all_packages title direct download hyperlink & open in new tab’ is closed to new replies.

footer-logo

WordPress Download Manager

All in One Digital Asset Management & Complete eCommerce Solution for Selling Digital Products

Quick Access

  • Try Demo
  • Pricing
  • Affiliate
  • Contact

Blog

  • Updates
  • How-to
  • New Release
  • Tips

Support

  • Support Forum
  • Priority Support
  • Feature Request
  • Terms and Conditions