Circle Progress Bar Block
Circle Progress Bar Block is a modern Gutenberg block plugin that adds beautiful circular progress indicators to your WordPress site. Perfect for displaying progress, statistics, or metrics in a visually appealing way. Source Code All uncompiled source code is included in this plugin. The production code in build/index.js is compiled from: Main Source File Located at src/index.js, this is the complete React source code for the block: `javascript import { registerBlockType } from ‘@wordpress/blocks’; import { InspectorControls } from ‘@wordpress/block-editor’; import { PanelBody, RangeControl, ColorPicker, TextControl, SelectControl, } from ‘@wordpress/components’; registerBlockType(‘circle-progress-bar/progress’, { title: ‘Circle Progress Bar’, icon: ‘chart-pie’, category: ‘widgets’, description: ‘A customizable circle progress bar.’, keywords: [‘progress’, ‘circle’, ‘chart’], supports: { html: false }, attributes: { percentage: { type: ‘number’, default: 75 }, size: { type: ‘number’, default: 100 }, strokeColor: { type: ‘string’, default: ‘#00aaff’ }, bgColor: { type: ‘string’, default: ‘#e6e6e6’ }, text: { type: ‘string’, default: ‘Progress’ }, useShadow: { type: ‘boolean’, default: false }, useGradient: { type: ‘boolean’, default: false }, strokeWidth: { type: ‘number’, default: 10 }, fontSize: { type: ‘number’, default: 20 }, fontColor: { type: ‘string’, default: ‘#333’ } }, // Full source code available in src/index.js // See GitHub repository for complete implementation }); Build Tools The production code is generated using standard WordPress tools: * @wordpress/scripts – For development and build * Webpack – For module bundling * Babel – For modern JavaScript compatibility Building from Source The source is in src/index.js Build tools are configured in package.json To compile: bash npm install npm run build Output goes to build/index.js Directory Structure To work with the source code: 1. Clone the GitHub repository: https://github.com/jqsafi/circle-progress-bar 2. Install dependencies: npm install 3. Start development server: npm start 4. Build production version: npm run build Features Fully Customizable Design Adjustable circle size and stroke width Custom colors for progress bar, background, and text Optional gradient effects Configurable font size and text Shadow effects available Block Editor Integration Easy to use block controls Live preview in editor Works with Full Site Editing (FSE) Multiple instances support Performance Optimized Lightweight SVG-based rendering No external dependencies Optimized for modern browsers Usage Basic Configuration After adding the block, set your desired percentage (0-100) in the block settings panel Customize the appearance: Change circle size using the “Size” slider Adjust stroke width using the “Thickness” slider Set colors for the progress bar, background, and text Enable/disable gradient effect Add custom text above or below the percentage Advanced Features Shadow Effects: Enable and customize shadow effects in the “Effects” panel Text Options: Configure font size, weight, and position Development The Circle Progress Bar Block is developed using modern JavaScript and follows WordPress coding standards. The source code is available on GitHub: GitHub Repository: https://github.com/jqsafi/circle-progress-bar Building from Source Clone the repository Install dependencies: npm install For development with live reload: npm start For production build: npm run build The plugin uses the following build tools: * @wordpress/scripts for development and build processes * webpack for bundling * Babel for JavaScript transpilation * ESLint and Prettier for code formatting Source files are located in: * src/ – Uncompiled JavaScript source code * build/ – Compiled and minified production code
Top keywords
- build13×2.56%
- source12×2.37%
- code11×2.17%
- progress11×2.17%
- default10×1.97%
- type10×1.97%
- block8×1.58%
- npm8×1.58%
- wordpress8×1.58%
- circle7×1.38%
- source code7×1.38%
- bar6×1.18%
Shortcodes Ultimate – Content Elements
Shortcodes Ultimate is a WordPress shortcode plugin for adding tabs, accordions, buttons, FAQs, sliders, carousels, lightboxes, columns, boxes and other reusable content elements without coding. It is ideal for site owners who want richer content layouts and practical UI elements without switching to a full page builder. Use Shortcodes Ultimate in the Block Editor, Classic Editor, widgets and template files. Generate shortcodes visually, preview the result before inserting it, and reuse the same elements across posts, pages and existing shortcode-based content. Trusted by hundreds of thousands of WordPress sites, Shortcodes Ultimate helps you replace multiple single-purpose UI plugins with one maintained toolkit. Explore live examples What you can build With Shortcodes Ultimate, you can quickly add common WordPress content elements such as: Accordions and FAQ sections Responsive tabs CTA buttons and download buttons Boxes, notes and callouts Columns and layout helpers Sliders and carousels Lightboxes for images and custom content Post lists and dynamic content blocks Spoilers, toggles and expandable content Media embeds and visual content blocks Instead of installing a separate plugin for every small content element, Shortcodes Ultimate gives you one maintained toolkit for everyday WordPress content tasks. Works with modern and classic WordPress workflows Shortcodes Ultimate works with the Block Editor, Classic Editor, widgets and template files. You can insert shortcodes manually, use WordPress shortcode blocks or use the built-in shortcode generator to configure elements visually. This makes the plugin useful for: Site owners who want to improve content without coding Bloggers and affiliate publishers who need reusable CTA and content blocks Agencies and freelancers maintaining multiple WordPress sites Developers who want shortcode-friendly output in templates Existing sites with older content that already uses shortcodes Why use Shortcodes Ultimate? 50+ ready-to-use WordPress shortcodes Visual shortcode generator Live preview Works with the Block Editor and Classic Editor Shortcodes can be used in posts, pages, widgets and template files Responsive elements that work with your theme Built-in Custom CSS editor Developer-friendly hooks and documentation Free version available on WordPress.org Pro version available for advanced shortcodes, extra styles and premium support Why shortcodes still matter in WordPress The WordPress Block Editor is great for visual content editing, but shortcodes are still useful when you need portable, reusable content elements that work across different parts of a WordPress site. Shortcodes are especially helpful when you want to: Reuse the same content element in many posts or pages Add dynamic content inside widgets or templates Maintain older WordPress sites that already use shortcodes Work across Classic Editor and Block Editor workflows Add content elements without switching to a full page builder Keep common UI elements available through a simple text-based syntax Shortcodes Ultimate is designed for these practical workflows. It gives you a large collection of ready-made shortcodes and a visual generator, so you do not need to write shortcode syntax manually unless you want to. Free and Pro The free version of Shortcodes Ultimate includes a large collection of useful shortcodes for everyday WordPress content tasks. Shortcodes Ultimate Pro adds advanced shortcodes, additional styles, Content Slider, Pricing Table, Testimonials, Shortcode Creator, Elementor support and premium support. Compare Free and Pro Useful links Documentation Live Examples Pro features Support