
內容簡介
這是一個非常簡單的外掛程式,可讓您上載各種檔案並建立文件清單。
此外掛程式可以輸出一個無序文件清單。
文件以新增日期排序。最新的文件在頂部。
短碼:查看完整的文件清單 [wpyog-document-list],查看單一文件 [wpyog-document id=16],其中id=“16”是文件的ID,請替換為您自己的文件ID,或者從“WPYog Document”部分複製。
外掛標籤
開發者團隊
原文外掛簡介
WPYog Documents is a free, versatile WordPress document listing and management plugin. Upload, organize, and display PDF, Word, Excel, PowerPoint, and any other file type directly from your WordPress dashboard using a simple shortcode.
View Live Demo
Key Features
Display documents on any post, page, or widget area using the [wpyog-document-list] shortcode
Organize documents into categories
Filter, sort, and limit the document list via shortcode attributes
Secure file downloads via nonce-verified AJAX
Supports all common file types: PDF, DOCX, XLSX, PPTX, images, audio, video, zip archives, and more
No programming knowledge required — works out of the box
Shortcode: [wpyog-document-list]
Place this shortcode on any post or page to list documents. Available attributes:
category — filter by category ID. Example: [wpyog-document-list category="7"]
desc — show/hide description. 1 = show, 0 = hide. Example: [wpyog-document-list desc="1"]
date — show/hide upload date. 1 = show, 0 = hide. Example: [wpyog-document-list date="1"]
orderby — field to sort by. Accepts date. Example: [wpyog-document-list orderby="date"]
order — sort direction. DESC or ASC. Example: [wpyog-document-list order="ASC"]
download — show/hide download button. 1 = show, 0 = hide. Example: [wpyog-document-list download="1"]
limit — maximum number of documents to show. Example: [wpyog-document-list limit="5"]
columns — number of columns (1–4). Default is 1. Example: [wpyog-document-list columns="2"]
To display a single document, use the [wpyog-document] shortcode:
id — document ID to display. Example: [wpyog-document id="4"]
Supported File Types
Microsoft Word (DOC, DOCX, DOCM, DOTM, DOTX)
Microsoft Excel (XLS, XLSX, XLSB, XLSM)
Microsoft PowerPoint (PPT, PPTX, PPSX, PPS, PPTM, POTM, PPAM, POTX, PPSM)
Adobe PDF
Images (PNG, JPG, GIF, WEBP, SVG)
Audio (MP3, WAV)
Video (MP4, WEBM, AVI, MOV, WMV)
Archives (ZIP, RAR, TAR, GZ, 7Z)
Plain text and more
