WP Manifestindependent plugin directory
manifest / editor / gutenberg-custom-blocks

Gutenberg Custom Blocks

WordPress plugin with custom Gutenberg blocks: React for admin interface, PHP for frontend rendering.

by Akrem Belkahla · github.com/akrembelkahla/gutenberg-custom-blocks · 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/akrembelkahla/gutenberg-custom-blocks/archive/refs/heads/main.zip

A professional WordPress plugin providing custom Gutenberg blocks for creating stunning landing pages with ACF Pro integration.

Table of Contents

Requirements

  • WordPress 6.0 or higher
  • PHP 7.4 or higher
  • ACF Pro (Advanced Custom Fields PRO) installed and activated
  • Modern web browser with JavaScript enabled

Installation

  1. Download the repository contents
  2. Place the folder in wp-content/plugins/
  3. Activate the plugin through the WordPress admin interface

Features

Core Features

  • 9 Custom Gutenberg Blocks optimized for landing pages
  • ACF Pro Integration for flexible custom fields management
  • React-based Editor for dynamic editing experience
  • PHP Frontend Rendering for optimal performance
  • Tailwind CSS Styling for modern, responsive designs
  • Font Awesome Icons for visual enhancement

Technical Features

  • Singleton Pattern for better resource management
  • Centralized Configuration system for easy customization
  • Asset Optimization with cache busting and conditional loading
  • Block Validation and error handling
  • Extensible Architecture with WordPress hooks and filters
  • Modern WordPress Coding Standards compliance
  • Internationalization Ready (i18n support)
  • Debug Mode Support for development

Available Blocks

  1. Hero Section - Eye-catching header with CTA
  2. Why Choose Us - Feature highlights section
  3. Digital Agency - Agency statistics showcase
  4. Increase Traffic - Marketing-focused content block
  5. Best Solutions - Services listing
  6. Pricing Plans - Pricing tables with features
  7. Testimonials Section - Customer reviews
  8. Contact Form - Contact information display
  9. Fast Agency - Quick facts and statistics

Development

Architecture

  • Object-Oriented PHP with proper class structure
  • WordPress Coding Standards compliance
  • PSR-4 Autoloading ready structure
  • Action and Filter Hooks for extensibility
  • Error Logging in debug mode

Code Quality

  • Well-documented code with PHPDoc comments
  • Secure coding practices (sanitization, escaping, nonce verification)
  • Performance optimized asset loading
  • Modular and maintainable codebase

Customization

Developers can extend the plugin using WordPress hooks:

// Add custom blocks
add_filter( 'gcb_blocks_to_register', function( $blocks ) {
    $blocks[] = 'my-custom-block';
    return $blocks;
} );

// Modify block arguments
add_filter( 'gcb_block_args', function( $args, $block_name ) {
    // Customize block registration args
    return $args;
}, 10, 2 );

// Disable external libraries if needed
add_filter( 'gcb_load_tailwind', '__return_false' );
add_filter( 'gcb_load_fontawesome', '__return_false' );

Changelog

See CHANGELOG.md for detailed version history.

Support

For issues, questions, or contributions, please contact:

License

This plugin is licensed under the GPL v2 or later.

Credits

  • Author: Akrem Belkahla
  • Agency: InfinityWeb
  • Built with WordPress best practices and modern web technologies