| 开发者 | fmgconsultants |
|---|---|
| 更新时间 | 2026年5月27日 22:38 |
| PHP版本: | 8.2 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPL-2.0-or-later |
| 版权网址: | 版权信息 |
[tooldocs_file id="X"] - Display a single document download link with file type icon[tooldocs_category_files category_id="Y"] - Display all documents in a category, with optional modal popuptooldocs folder to the /wp-content/plugins/ directory, or install directly through the WordPress plugins screen.ToolDocs uses WordPress native MIME type detection, so any file type allowed by your WordPress configuration can be uploaded. This includes PDF, DOC, DOCX, XLS, XLSX, PPT, PPTX, ZIP, and many more.
By default, files are stored in wp-content/uploads/tooldocs/. You can change this in the ToolDocs settings, but the path must remain within wp-content/uploads/.
Use the [tooldocs_file id="X"] shortcode, replacing X with the document ID shown in the ToolDocs admin panel. You can also use [tooldocs_file id="X" link_text="Custom Text"] to set custom link text.
Yes. Use the [tooldocs_category_files category_id="Y"] shortcode, replacing Y with the category ID. By default, files display in a modal popup. Set modal="false" to display them inline.
Yes. ToolDocs automatically tracks download counts for each file. You can view per-document download history in the admin panel and export download statistics as CSV files with daily, weekly, and monthly breakdowns.
Yes. You can add external URLs as managed documents. They receive their own permalink and can be organized into categories just like uploaded files.
No. ToolDocs works entirely within your WordPress installation with no external service dependencies.
The plugin bundles a minimal subset of Font Awesome Regular icons for file type display. If your theme or another plugin already loads Font Awesome, the plugin detects this and skips loading its own copy to avoid conflicts. You can disable the plugin's Font Awesome loading entirely in ToolDocs settings.
ToolDocs provides document management with direct download links. ToolDocs Premium adds gated document access, user registration forms, login system, email notifications, bot verification, session tracking, and more.
[td_file] and [td_category_files] shortcodes. Use [tooldocs_file] and [tooldocs_category_files] instead./upload, /upload/external, and the document replace endpoints now also require the upload_files capability.wp_kses() with a tight SVG-aware allowlist.ini_set('memory_limit', '256M') raise from the document download template; the chunked 8 KB stream keeps memory usage bounded without it.