Resource Downloads
Resource Downloads Plugin
by Roopam Paradkar · github.com/roopamparadkar/resource-downloads-plugin · website
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/roopamparadkar/resource-downloads-plugin/archive/refs/heads/main.zipA comprehensive WordPress plugin for managing and displaying downloadable resources with categories, thumbnails, and detailed file information.
Features
- Custom Resource Post Type: Dedicated post type for managing downloadable resources
- Category Management: Organize resources into customizable categories (maps, field guides, posters, activity guides, curricula, etc.)
- File Upload & Management: Easy file upload with automatic file type and size detection
- Responsive Grid Display: Beautiful, responsive grid layout with customizable columns
- Search & Filter: Real-time search and category filtering functionality
- Download Tracking: Track download statistics and user analytics
- Configurable Settings: Comprehensive admin settings for customization
- Multiple Display Options: Shortcodes with various parameters for flexible display
- Theme Color Matching: Uses the same green theme color (#2c7a2c) as your existing plugins
Installation
- Upload the
resource-downloadsfolder to/wp-content/plugins/ - Activate the plugin through the 'Plugins' menu in WordPress
- Go to 'Resource Downloads' in the admin menu to configure settings
- Start adding resources through 'Resources' > 'Add New'
Usage
Adding Resources
- Go to Resources > Add New in your WordPress admin
- Enter the resource title and description
- Upload a file using the file upload area in the Resource Details meta box
- Set a featured image to use as the thumbnail
- Assign categories to help users find the resource
- Publish the resource
Displaying Resources
Use these shortcodes to display your resources:
Basic Grid
[resource_downloads]
Customized Grid
[resource_downloads category="maps" limit="6" columns="3" show_search="true" show_filter="true"]
Shortcode Parameters
category- Filter by specific category sluglimit- Number of resources to show (default: 12)columns- Grid columns: 2, 3, 4, or 5 (default: 3)show_search- Show search box: true/false (default: true)show_filter- Show category filter: true/false (default: true)
Default Categories
The plugin includes these default categories:
- Maps - Educational maps and geographical resources
- Field Guides - Identification guides and field references
- Posters - Educational posters and visual aids
- Activity Guides - Activity instructions and worksheets
- Curricula - Complete curriculum packages
- Presentations - Slide presentations and lectures
- Worksheets - Practice sheets and exercises
- Reference Materials - Reference books and documentation
Admin Features
Dashboard
- Overview statistics (total resources, downloads, categories)
- Quick actions and recent resources
- System information and shortcode examples
Settings
- Theme color customization
- Display options (grid columns, items per page)
- Feature toggles (download count, file info, guest downloads)
- File upload restrictions
- Custom CSS support
Statistics
- Download tracking and analytics
- Charts and graphs showing download trends
- Most popular resources
- Category performance metrics
- Export data to CSV/JSON
File Upload
Supported File Types
- Documents: PDF, DOC, DOCX, XLS, XLSX, PPT, PPTX, TXT
- Images: JPG, JPEG, PNG, GIF
- Archives: ZIP, RAR
- Custom types can be configured in settings
File Management
- Files are stored in the plugin's secure upload directory
- Automatic file size and type detection
- File information displayed on resource cards
- Download tracking for analytics
Customization
Theme Integration
The plugin uses CSS custom properties and can be easily styled to match your theme:
:root {
--rd-theme-color: #2c7a2c; /* Your custom color */
}
Custom CSS
Add custom styles through the plugin settings or your theme's CSS:
.rd-resource-card {
/* Custom card styling */
}
.rd-download-btn {
/* Custom button styling */
}
Database Tables
The plugin creates these database tables:
wp_rd_downloads- Download tracking data
Security Features
- File upload security with type validation
- Nonce verification for all AJAX requests
- Capability checks for admin functions
- Sanitized input/output throughout
Performance
- Efficient database queries with proper indexing
- Lazy loading for images
- Minified CSS and JavaScript assets
- Caching-friendly architecture
Compatibility
- WordPress 5.0+
- PHP 7.4+
- MySQL 5.7+
- Responsive design for all devices
Support
For support and feature requests, please contact the developer.
Version
Current version: 1.0.0
License
GPL v2 or later
Created by: Roopam Paradkar
Plugin URI: https://inborndeveloper.com