A comprehensive WordPress plugin for creating a files/books/videos library with user data collection for downloads.
- Custom Post Type: "Files Library" with file upload capability
- File Management: Upload files directly within the post editor
- Categories: Organize files with custom taxonomy
- Download Tracking: Track all download requests with user data
- CSV Export: Export collected user data as CSV
- Admin Dashboard: View and manage download requests
- File Statistics: View download counts and file details
- Form Customization: Configure download form fields (show/hide, required/optional)
- Flexible Data Collection: Control what user information is collected
- Library Archive: Main library page similar to blog archive
- Search & Filters: Search files and filter by category, file type, and sort options
- Responsive Design: Mobile-friendly interface
- Dynamic Download Forms: Forms adapt based on admin configuration
- Flexible Data Collection: Collect only the information you need (name, email, phone)
- Smart User Experience: Form instructions and login prompts adapt to configuration
- Download Tokens: Secure download links valid for 24 hours
- Anonymous Downloads: Support for downloads without data collection when configured
- Nonce Protection: All AJAX requests are protected with nonces
- Data Validation: Server-side validation of all user inputs
- Download Tokens: 24-hour tokens for secure downloads with multiple use
- Rate Limiting: Prevent multiple requests from same user within 24 hours
- IP Tracking: Track IP addresses for download requests
- Upload the plugin folder to
/wp-content/plugins/ - Activate the plugin through the 'Plugins' menu in WordPress
- The plugin will automatically create the necessary database table
- Start adding files through the "Files Library" menu in admin
- Go to Files Library > Add New in your WordPress admin
- Add a title and description for your file
- Set a featured image (recommended)
- Use the "File Upload" meta box to upload your file
- Assign categories if needed
- Publish the post
- Go to Files Library > Download Requests to view all download requests
- Use the search and filter options to find specific requests
- Export data as CSV using the "Export CSV" button
- Delete individual requests or use bulk actions
- Go to Files Library > Form Settings in your WordPress admin
- Configure each field (Name, Email, Phone) individually
- Save your settings
For each field, you can:
- Enable/Disable: Show or hide the field completely
- Required/Optional: Make the field mandatory or optional for users
- Name Field: Enabled and Required
- Email Field: Enabled and Optional
- Phone Field: Enabled and Required
- With Form Fields: Users fill out enabled fields before downloading
- No Form Fields: When all fields are disabled, users can download directly without providing any information
- Mixed Configuration: Any combination of enabled/disabled and required/optional fields
You can override the plugin templates by copying them to your theme:
- Copy
templates/archive-files-library.phpto your theme root - Copy
templates/single-files-library.phpto your theme root - Customize as needed
