Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/jahid32/dpb/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Donation Progress Bar Plugin
A WordPress plugin to display customizable progress bars for donation campaigns, shortcode support.
Features
- Custom Post Type: Create and manage donation campaigns with title, goal amount, and amount raised.
- Shortcode: Use
[donation_progress id="<campaign-id>"]to display a progress bar dynamically. - Dynamic Rendering: Handles progress updates seamlessly with server-side rendering for dynamic content.
- OOP Structure: Built following SOLID principles for maintainable and scalable development.
Installation
- Download the plugin zip or clone this repository.
- Place the plugin folder in your
wp-content/plugins/directory. - Activate the plugin through the WordPress admin panel.
Usage
Shortcode
Use the shortcode to display a progress bar on any page or post:
[donation_progress id="<campaign-id>"]</campaign-id>
Setup
- Navigate to the plugin folder.
- Install dependencies:
composer install
License
This plugin is open-source and distributed under the MIT License.
Author
Md Mostafizur Rahman