Alphanerd - Download Manager

The "Downloads Manager" plugin adds a custom post type for managing downloadable content with features like meta boxes for URL, Count, Shortcode, Button Color, and Text Color. It includes functions to save and display these fields, a shortcode to generate a download button, a script for handling downloads, and an admin column for shortcodes.

Buy Now

Downloads Manager Plugin Features

Feature Description
Register Custom Post Type Adds a new custom post type called "Downloads" for managing downloadable content.
Add Meta Boxes Adds meta boxes for URL, Count, Shortcode, Button Color, and Text Color to the custom post type.
URL Meta Box Callback Displays an input field for the download URL in the URL meta box.
Count Meta Box Callback Displays the current download count in the Count meta box.
Shortcode Meta Box Callback Displays the shortcode for the download button in the Shortcode meta box.
Button Color Meta Box Callback Displays an input field for the button color in the Button Color meta box.
Text Color Meta Box Callback Displays an input field for the text color in the Text Color meta box.
Save Meta Box Data Saves the download URL when the post is saved.
Save Button Color Data Saves the button color when the post is saved.
Save Text Color Data Saves the text color when the post is saved.
Download Button Shortcode Defines a shortcode [download_button] that generates a download button with a URL, download count, button color, and text color.
Enqueue Scripts Enqueues a JavaScript file (downloads-manager.js) for the plugin.
Handle File Download Handles the file download by incrementing the download count and redirecting to the download URL.
Add Shortcode Column Adds a "Shortcode" column to the admin list view for the "Downloads" post type.
Custom Column Content Displays the shortcode for each download post in the "Shortcode" column in the admin list view.