How can I list all private files with indication of size and download button?

Home Forums Main plugin support How can I list all private files with indication of size and download button?

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #748494

    Dear support team,

    I use the current WordPress and plugin versions.

    My goal:
    Outputting ALL files assigned to an account on the dashboard page with the indication of the file size and the download button, so that the user DOES NOT have the need to click into a file single page before he can download the file.
    I wish a list with the following simple format:

    FILENAME – FILESIZE – DOWNLOADBUTTON

    Current behaviour:
    The dashboard page uses the shortcode [customer-area-dashboard /]. The user sees a list of files, but after clicking the file name he first gets directed to the file single page before he can download it.

    How can I achieve my goal?
    Is there a shortcode for outputting a list of files that includes download buttons?
    Or maybe I can use php code with a loop?

    #750293

    Hi

    You would indeed need to use PHP code

    You will need to use our template system documentation and the functions from src/php/functions/private-files to do what you need.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.