如何在 post 中的 wordpress 中创建上传文件选项

How to create an upload file option in wordpress within a post

如何在 post 类型中创建一个上传文件选项,它是默认可用的 'Add Media' 选项的显式类型。

我正在尝试为组织创建一个 wiki 站点,其中作者必须能够上传文件并且最终用户必须能够看到带有 post.[=11 的附件=]

如何实现?请帮助。

我使用了很多插件,这些插件只允许我在 post 中上传文件,一旦它被发布并且上传选项只能由最终用户访问,而不是创建 [=22= 的人].

我使用插件 wp-knowledgebase 来创建 wiki。

你可以使用这个插件。这个插件可以让你上传文件。

 https://wordpress.org/plugins/wp-file-upload/screenshots/

尝试这一步我不确定这是否允许用户下载文件但我相信这将允许用户在 frontwnd 中看到您的文件

  To Upload a File in a Post:

On the Dashboard menu, click Posts, and then click Add New to display the 'Add New Post' page.
On the Upload/Insert menu, click the icon for the type of file you want to upload and the 'Add media files from your computer' page will appear.
Click the Select Files button.
In the dialog box, select the file you want to upload.
Click Open.
When your file uploads, a field appears. At the bottom of the field,   click the Insert into Post button.

尝试使用此插件,它将允许您从后端上传文件。

https://wordpress.org/plugins/wp-attachments/

一个选项是当您从管理面板创建 post 时,您可以从媒体添加附件文件。

第 1 步:添加媒体(Select 您的媒体文件)

第 2 步:更新 post

你可以关注这个link

Wp file upload form