Document Manager
Wordpress Document Manager Plugin
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/syphonb/document-manager-plugin/archive/refs/heads/main.zipWordPress plugin for organizing downloadable files into groups and rendering them on the frontend with a shortcode.
Project Objectives
- Provide a simple admin workflow to create and manage document groups.
- Support bulk document onboarding through drag-and-drop and Media Library selection.
- Let admins rename, reorder, and remove file associations without deleting Media Library assets.
- Make group embedding straightforward via shortcode copy/paste.
- Output a clean, responsive document list for site visitors.
What It Does Today
- Adds a Doc Manager admin menu.
- Creates and manages unlimited document groups.
- Uploads files directly in the group editor (drag-and-drop + browse).
- Adds existing files from the WordPress Media Library.
- Supports inline rename and drag-to-reorder.
- Generates shortcode:
[doc_group id=X]. - Renders frontend document lists with icon, file size, and extension badge.
Technical Scope
- Plugin bootstrap:
document-manager.php - Admin UI templates:
admin/group-list.phpadmin/group-edit.php
- Admin assets:
assets/js/admin.jsassets/css/admin.css
- Frontend styles:
assets/css/frontend.css
Data Model
On activation, the plugin creates:
{wp_prefix}docmgr_groups{wp_prefix}docmgr_files
docmgr_files stores group-to-attachment relationships and sort order.
Files remain in the WordPress Media Library even when removed from a group.
Requirements
- WordPress 5.0+
- PHP 7.4+
Installation
- Copy this plugin directory into
wp-content/plugins/. - Activate Document Manager in the WordPress admin.
- Open Doc Manager to create a group and add files.
Usage
- Create or edit a group from Doc Manager.
- Upload files or add files from the Media Library.
- Copy the generated shortcode.
- Paste into a post/page:
[doc_group id=1]
Notes
- Group and file management actions are restricted to users with
manage_options. - AJAX actions are nonce-protected.
- Plugin metadata and WordPress.org-style plugin description are also available in
readme.txt.