Skip Navigation

[Resolved] Split: Show gallery of images in template of single vie'we – display PDF as download

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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 7 replies, has 2 voices.

Last updated by wilbertS 1 year ago.

Assisted by: Minesh.

Author
Posts
#2699249

Thanks this is great!

One thing more, the psot type has also pdfs (resources") as you can see.
I like to show them in the single post with a linkt to download the pdf.
But there can be no pdf, or one pdf or 5 pdf.
how to make such a content template?

#2699251

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I would like to know - do you want to check empty field value for single repeating field instance or you want to check that repeating field have any value or not?

Maybe for resources rather than repeating field you can go with repeating field group. You can test and check what is the best structure for you.
- https://toolset.com/course-lesson/creating-and-displaying-repeatable-field-groups/

If you do not want to go with repeating field please answer the above query and I will try to guide you in the right direction.

#2699254

Thanks, I have seperate the gallery view and resources view, as i (maybe) show them on other places as well.
The list of the reosuerces is showing an ugly link, but I like the titl of the resource with a link (_blank) to the file.
How to?

#2699256

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

To display the PDF title you will have to write the custom shortcode.

Can you please check the following reference ticket and try to resolve your issue.
- https://toolset.com/forums/topic/displaying-file-title-with-a-link-for-custom-field-for-manuals-etc/#post-1666341

If you search the Toolset forum you will see many related tickets:
- https://toolset.com/forums/topic/need-to-display-a-files-pdf-doc-media-title-as-a-link-in-a-url-field/
- https://toolset.com/forums/topic/i-have-custom-field-type-as-pdf-file-i-want-to-file-title-for-its-link/#post-1369403

#2699261

Why is this so difficult to do, for something simpel as a title of a file. I think this wil be used a lot?

#2699264

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I'm not sure but that is the workaround to display the uploaded PDF file title.

You can always file a new feature request:
- https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/

#2699287

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I've added the map on right column of your grip you added and I can see the map on frontend:
- hidden link

Somehow it does not display in backend - must be a conflict with any third-party plugin or theme you are using.

If you want to know:
Could you please try to resolve your issue by deactivating all third-party plugins one by one and check the page as well as the default theme to check for any possible conflicts with any of the plugins or themes?
- Do you able to locate what plugin causes the issue?

#2699830

The title is working now!

I like to hide the content template completly when there are no values
How to do this

#2699831

I useds [wpv-conditional] and it is working, you can close ticket.