bricks-elements

Community

Create Bricks Builder custom elements

Authorwpgaurav
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Developers need a repeatable pattern to build Bricks Builder custom elements that extend the Bricks\Element base class, ensuring consistency, proper rendering, and builder integration across WordPress projects.

Core Features & Use Cases

  • Element architecture and namespace: extend Bricks\Element and place the class under includes/elements to centralize behavior.
  • Registration and discovery: two common methods to register: via the braces filter and via direct registration, enabling clean integration in themes or plugins.
  • Rendering and customization: define labels, controls, render logic, and a builder preview to generate production-ready UI components.
  • Use case: create a feature box, a post-grid item, or a custom widget that can be reused across pages.

Quick Start

Define a new PHP class that extends Bricks\Element, implements required properties (category, name, tag, etc.), and register it with the Bricks elements flow.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: bricks-elements
Download link: https://github.com/wpgaurav/WordPress-skills/archive/main.zip#bricks-elements

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.