Navigation überspringen

[Gelöst] Show file size and download count for files uploaded to a post

Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.

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 vor 3 Jahre, 6 Monaten. 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 – 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 -

Zeitzone des Unterstützers: Asia/Hong_Kong (GMT+08:00)

Dieses Thema enthält 2 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von duongN-3 vor 3 Jahre, 6 Monaten.

Assistiert von: Luo Yang.

Author
Artikel
#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?
versteckter Link

#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!