Can I display a count of the number of uploaded files

By: James Wyatt | Asked: 01/26/2024
ForumsCategory: General questionsCan I display a count of the number of uploaded files
James WyattJames Wyatt asked 10 months ago
I have a file upload field which allows multiple uploads. In a view, I want to display the number of uploaded files for a particular entry, but not the actual files themselves. Is this possible and if so how would I go about it? Many Thanks, James.
1 Answers
Rob LeVineRob LeVine answered 10 months ago
One way I can think of is to create a custom shortcode, pass it the entry id and have the shortcode return the number by looking at the entry's data.

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right