Home>

I use WordPress, and I want to automatically generate a download page for each file when the user uploads a file from the file upload form.

Tried

The file upload form was realized by using a plugin called Wordpress File Upload. For downloading files in a specific folder, for the moment we were able to create a download link for multiple files on "a single page" using a plug-in called Mmm Simple File List. However, I would like to create a single fixed page for one file in a specific folder and make it a download page, but this point has not been realized yet. (A specific folder is always fixed to one and will not change.)
I tried using Page Generator, but this plug-in has a problem that it cannot refer to the file in a specific folder, so I would like to know if there is a good plug-in.

  • Answer # 1

    I don't know the requirements well, but if I use WordPress Download Manager.
    https://en.wordpress.org/plugins/download-manager/

    If you want to use the current plug-in, you can write code to add a page usingwp_insert_post.
    http://wpdocs.osdn.jp/%E9%96%A2%E6%95%B0%E3%83%AA%E3%83%95%E3%82%A1%E3%83%AC%E3%83 % B3% E3% 82% B9/wp_insert_post

Related articles