Skip Navigation

[Resuelto] Show file size and download count for files uploaded to a post

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

Problem:

I added a function that I found from the Toolset support forums and I'm wondering if you can help me with 2 things:

1. Show Download Count per file

2. Show file size per file

Solution:

There isn't such kind of built-in feature within Toolset plugins, you might consider other plugins, for example:

https://wordpress.org/plugins/search/download/

Relevant Documentation:

This support ticket is created hace 2 años, 10 meses. 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.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

Este tema contiene 2 respuestas, tiene 2 mensajes.

Última actualización por duongN-3 hace 2 años, 10 meses.

Asistido por: Luo Yang.

Autor
Mensajes
#2263301
Screen Shot 2022-01-10 at 9.28.02 PM.png

Tell us what you are trying to do?
I'm using the following shortcode to show files uploaded and associated to a post type.
This shortcode only shows the filename versus the entire URL that Toolset prints out.
[my_file_name types_field="upload-subtitle"]
The details of that code can be found here: https://toolset.com/forums/topic/wpv-post-featured-image-output-file-name/#post-335862

I added a function that I found from the Toolset support forums and I'm wondering if you can help me with 2 things:
1. Show Download Count per file
2. Show file size per file

Attached is what my view looks like on the page.
Is there any documentation that you are following?
No

Is there a similar example that we can see?
Example below:
nameoffile.jpg | file size (in kb/mb) | total downloads

What is the link to your site?
enlace oculto

#2263397

Hello,

There isn't such kind of built-in feature within Toolset plugins, and according to our support policy, we don't provide custom codes support:
https://toolset.com/toolset-support-policy/

In your case, you might consider other plugins, for example:
https://wordpress.org/plugins/search/download/

For your reference.

#2264333

My issue is resolved now. Thank you!