WP Manifestindependent plugin directory
manifest / utilities / peptide-calculator-suite-pro-plugin

Peptide Calculator Suite Pro

Peptide Calculator Suite Pro is a comprehensive WordPress plugin designed for healthcare professionals, researchers, and individuals working with peptide-based compounds. It provides a suite of calculators and tools to simplify complex dosage calculations, unit conversions, and data visualization.

by Rumain Islam · github.com/iamrumain/peptide-calculator-suite-pro-plugin · website

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/iamrumain/peptide-calculator-suite-pro-plugin/archive/refs/heads/main.zip

Readme

Peptide Calculator Suite Pro

A professional, commercial-quality WordPress plugin for calculating peptide dosages, unit conversions, dosage charts, and reverse calculations.

Overview

Peptide Calculator Suite Pro is a comprehensive WordPress plugin designed for healthcare professionals, researchers, and individuals working with peptide-based compounds. It provides a suite of calculators and tools to simplify complex dosage calculations, unit conversions, and data visualization.

Features

  • Peptide Dosage Calculator - Calculate precise dosages based on body weight and concentration
  • Reverse Calculator - Work backwards from desired dosage to determine required volumes
  • Unit Converter - Convert between different measurement units (mcg, mg, ml, etc.)
  • Dosage Charts - Generate and visualize dosage charts with admin interface
  • Dosage Query - Query and search through dosage information
  • History Tracking - Maintain a history of calculations for record-keeping
  • Elementor Integration - Native support for Elementor page builder with dedicated widgets
  • Admin Dashboard - Comprehensive settings and configuration panel
  • Responsive Design - Works seamlessly on desktop and mobile devices

Requirements

  • WordPress 5.0 or higher
  • PHP 7.2 or higher
  • Modern web browser with JavaScript enabled

Installation

From WordPress Admin Panel

  1. Go to Plugins > Add New
  2. Search for "Peptide Calculator Suite Pro"
  3. Click Install Now
  4. Click Activate

Manual Installation

  1. Download the plugin folder
  2. Upload the peptide-calculator-suite-pro folder to /wp-content/plugins/
  3. Go to Plugins in WordPress admin
  4. Find "Peptide Calculator Suite Pro" and click Activate

Quick Start

After activation:

  1. Navigate to the Peptide Calculator settings page in the WordPress admin
  2. Configure your settings and preferences
  3. Use the shortcodes or Elementor widgets to add calculators to your pages:
    • [peptide-calculator] - Peptide dosage calculator
    • [reverse-calculator] - Reverse dosage calculator
    • [unit-converter] - Unit conversion tool
    • [dosage-charts] - Dosage charts
    • [dosage-query] - Dosage query interface
    • [history] - Calculation history

Elementor Widgets

If using Elementor, search for "Peptide Calculator" in the Elementor widget panel. Available widgets include:

  • Peptide Calculator
  • Reverse Calculator
  • Unit Converter
  • Dosage Charts
  • Dosage Query
  • History

Project Structure

peptide-calculator-suite-pro/
├── admin/                          # Admin-specific functionality
│   ├── class-admin.php            # Main admin class
│   ├── class-settings.php         # Settings management
│   ├── class-style.php            # Admin styles
│   ├── css/                       # Admin stylesheets
│   ├── js/                        # Admin JavaScript
│   └── partials/                  # Admin template partials
├── assets/                         # Public-facing assets
│   ├── css/                       # Stylesheets for each module
│   │   ├── dosage-charts.css
│   │   ├── dosage-query.css
│   │   ├── peptide-calculator.css
│   │   ├── reverse-calculator.css
│   │   └── unit-converter.css
│   ├── images/                    # Plugin images and graphics
│   └── js/                        # Frontend JavaScript
│       ├── dosage-charts.js
│       ├── dosage-query.js
│       ├── peptide-calculator.js
│       ├── reverse-calculator.js
│       └── unit-converter.js
├── elementor/                      # Elementor integration
│   ├── class-elementor-integration.php
│   └── widgets/                   # Individual Elementor widgets
│       ├── class-dosage-charts-widget.php
│       ├── class-dosage-query-widget.php
│       ├── class-history-widget.php
│       ├── class-peptide-calculator-widget.php
│       ├── class-reverse-calculator-widget.php
│       └── class-unit-converter-widget.php
├── includes/                       # Core plugin classes
│   ├── class-activator.php        # Plugin activation logic
│   ├── class-deactivator.php      # Plugin deactivation logic
│   ├── class-export.php           # Data export functionality
│   ├── class-module-base.php      # Base class for modules
│   └── class-peptide-calculator-suite-pro.php # Main plugin class
├── modules/                        # Feature modules
│   ├── dosage-charts/            # Dosage charts module
│   ├── dosage-query/             # Dosage query module
│   ├── history/                  # History tracking module
│   ├── peptide-calculator/       # Peptide calculator module
│   ├── reverse-calculator/       # Reverse calculator module
│   └── unit-converter/           # Unit converter module
├── templates/                      # Public-facing templates
│   ├── dosage-charts.php
│   ├── dosage-query.php
│   ├── peptide-calculator.php
│   ├── reverse-calculator.php
│   └── unit-converter.php
├── languages/                      # Translation files
├── LICENSE                         # GPLv2 or later license
├── README.md                       # This file
├── readme.txt                      # WordPress plugin readme
└── peptide-calculator-suite-pro.php # Main plugin file

Module Documentation

Peptide Calculator Module

Calculates peptide dosages based on user input parameters including body weight, peptide concentration, and desired dose.

Files:

Reverse Calculator Module

Reverse calculates the volume needed based on desired dosage, allowing users to work backwards from their target dose.

Files:

Unit Converter Module

Converts between common measurement units for dosage calculations (mcg, mg, ml, IU, etc.).

Files:

Dosage Charts Module

Generates visual dosage charts and graphs for easy reference and visualization.

Files:

Dosage Query Module

Allows users to query and search through dosage information based on various parameters.

Files:

History Module

Tracks and maintains a history of all calculations performed by users.

Files:

Configuration

Admin Settings

Access plugin settings from WordPress Admin Dashboard > Peptide Calculator

Available settings include:

  • General calculator options
  • Unit preferences
  • Chart display settings
  • History retention policy
  • Integration options

Usage Examples

Shortcodes

<!-- Basic Peptide Calculator -->
[peptide-calculator]

<!-- With custom parameters -->
[peptide-calculator title="My Calculator" show_history="true"]

<!-- Complete toolkit -->
[peptide-calculator]
[reverse-calculator]
[unit-converter]
[dosage-charts]
[dosage-query]
[history]

Elementor Integration

  1. Add a new Elementor section to your page
  2. Search for any "Peptide Calculator" widget
  3. Drag and drop into your section
  4. Configure widget settings as needed
  5. Save and publish

Development

Project Technologies

  • PHP - Core plugin logic (WordPress standards)
  • JavaScript - Interactive frontend components
  • CSS - Responsive styling
  • jQuery - DOM manipulation and AJAX requests
  • WordPress APIs - Settings, hooks, and data management

File Naming Conventions

  • PHP classes: class-feature-name.php
  • CSS files: feature-name.css
  • JavaScript files: feature-name.js
  • Templates: feature-name.php

Hooks and Filters

The plugin follows WordPress best practices for extensibility through hooks and filters. Developers can customize behavior by:

// Example: Filter calculator output
add_filter( 'peptide_calc_result', 'my_custom_filter' );

// Example: Action on calculation complete
add_action( 'peptide_calc_completed', 'my_custom_action' );

Adding Custom Modules

  1. Create a new folder in /modules/
  2. Create a class extending Module_Base
  3. Register the module in the main plugin class
  4. Add templates in /templates/

Database

The plugin uses WordPress database tables for:

  • Calculation history
  • User preferences
  • Dosage data
  • Chart configurations

No direct database modifications are required for standard operation.

Performance

  • Caching - Calculations are optimized for speed
  • Lazy Loading - Charts load on demand
  • Code Splitting - JavaScript loaded as needed
  • Minified Assets - CSS and JS files are production-ready

Security

  • Input Validation - All user inputs are validated
  • Output Escaping - All output is properly escaped
  • Nonce Verification - AJAX requests include security nonces
  • Capability Checks - Admin features require proper user capabilities
  • Sanitization - All data is sanitized before storage

Frequently Asked Questions

Is this plugin free?

Peptide Calculator Suite Pro is distributed under the GNU General Public License (GPLv2 or later). This means it is free to download, modify, and distribute under the same license terms.

Does it work with custom themes?

Yes, the plugin is designed to work with any WordPress theme. It uses standard WordPress functions and CSS that integrate smoothly with most themes.

Can I use this for commercial purposes?

Yes, you can use this plugin commercially. Under the GPLv2 license, you may modify and distribute it, provided you maintain the same license.

Does it support multiple languages?

Yes, the plugin includes translation support through WordPress language files. Translations can be added to the /languages/ folder.

How is user data handled?

All user data (calculation history, preferences) is stored in your WordPress database on your own server. No data is sent to external servers.

Troubleshooting

Calculators not displaying

  1. Ensure plugin is activated
  2. Check that shortcodes are correctly formatted
  3. Verify JavaScript is enabled in browser
  4. Clear browser cache

Charts not loading

  1. Check browser console for JavaScript errors
  2. Verify admin-charts.js is loaded
  3. Ensure Chart.js library is available
  4. Clear plugin cache if available

Settings not saving

  1. Verify user has admin capabilities
  2. Check file permissions on /wp-content/plugins/
  3. Ensure database connectivity
  4. Review WordPress error logs

Changelog

Version 1.0.0 - Initial Release

  • Peptide dosage calculator
  • Reverse calculator
  • Unit converter
  • Dosage charts with visualization
  • Dosage query interface
  • Calculation history tracking
  • Elementor widget integration
  • Admin settings panel
  • Comprehensive documentation

Contributing

Contributions are welcome! To contribute:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Please ensure code follows WordPress coding standards and includes appropriate documentation.

Support

For support, feature requests, or bug reports:

License

This project is licensed under the GNU General Public License v2.0 or later - see the LICENSE file for details.

Peptide Calculator Suite Pro
Copyright (c) 2026 Rumain Islam

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License v2.0
as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Acknowledgments

  • Built with WordPress Plugin Standards
  • Elementor integration for visual page building
  • Special thanks to all contributors and testers

Made with ❤️ by Rumain Islam

For the latest updates and information, visit the GitHub Repository

Read the full README on GitHub →