Skip Navigation

[Résolu] i have file field group of multi pdfs. i need to show only title of file in view

This support ticket is created Il y a 7 années et 2 mois. 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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)

Marqué : 

This topic contains 2 réponses, has 2 voix.

Last updated by Ido Angel Il y a 7 années et 2 mois.

Assisted by: Shane.

Auteur
Publications
#473304

hey,
i have a field group of multi pdf files. i want to show only the file's title, not the entire url link.
i use:
[types field='presentations' link='true' separator=' '][/types]
i know i can use title="whatever", but then ALL files are called like this, instead of each being called only his name.
i searched the forum and found all kinds of php codes to help, but none worked.
isn't there anything like title="filed_title" or anything?
thanks!
ido

#473483

Shane
Supporter

Languages: Anglais (English )

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

Hi Ido,

Thank you for contacting our support forum.

Unfortunately not our shortcode doesn't have a handle for this.

However I did some research and managed to stumble upon this.
https://wordpress.org/ideas/topic/functions-to-get-an-attachments-caption-title-alt-description

This should allow you to be able to write some custom code to retrieve the information.

Please let me know if this helps.

Thanks,
Shane

#473496

thx, shane.
i'm not sure how to user the code there...
but i'll drop it for now. could be an interesting addition for views in future versions.
thx again.
ido

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.