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 / Can I change what the [icon] links to?

Can I change what the [icon] links to?

  • This topic has 1 reply, 2 voices, and was last updated 6 years, 8 months ago by Shahriar.
Viewing 2 posts - 1 through 2 (of 2 total)
Oct 8, 2018 at 9:39 pm #87910

Briana C
Member

I want my page to have an image, a title, and have a pdf icon that opens a new window with the pdf already loaded. What I currently have is most of that but instead of opening directly to the file the icon leads to the “download details” page within the same window.

How do I change that? Here is what I have already:

code i have that isnt what I want

which leads me here

And here are two things I think should work but for some reason, it doesn’t:

my attempt at altering that code

which I want to lead me here, but instead it sends me to an error page

As well as this code: this code

which produces this: not good not what I want

See Pictures

Can I get an icon to show up and the download manager to fill in the file with just good old code? or do I have to use those “Template Variables?”
How do I make my [icon] lead to straight to the download, like the [download] link does? For my site, the download details page does not make sense.

Oct 10, 2018 at 4:12 pm #87979

Shahriar
Moderator

Please try this <a class="pull-left" href="[download_url]" target="_blank">[icon]</a>

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

The topic ‘Can I change what the [icon] links to?’ 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