Skip Navigation

[Resolved] Archive field download links not opening except .pdf files

This support ticket is created 3 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 2 replies, has 2 voices.

Last updated by jorgel-4 3 years, 4 months ago.

Assisted by: Shane.

Author
Posts
#2181125

I have a custom post type called Marketing Materials, that has a field to upload archives like .pdf, .doc, .zip, etc.

At front-end I list the posts with a vew like this:

[wpv-conditional if="( $(wpcf-archive) ne '' )"]

[wpv-post-title]

[/wpv-conditional]

The view works fine, an d the link open the .pdf docs but when it is another kind of archive it doesn't open anything.

I googled and find that when URL has a relative path it works, and I already tested it. But when url is absolute it's not working.

I also tryed adding download at link tag but is not working anyway.

This is private information:

Link to CPT custom fields: hidden link
Link to view: hidden link
Link to front of the view: hidden link

#2181209

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Jorge,

I believe the problem is that your items are uploaded with a http address when it should be https.

Try changing your links to https and let me know if this resolves the issue.

Thanks,
Shane

#2181263

My issue is resolved now. Thank you!