Repository navigation
Extensions Dynamic Tags
Added in 2.1.0
Binds any block's text, link, URL, or image to live data from post meta, site fields, archive context, user fields, or a third-party field plugin. Bindings are stored in the native WordPress Block Bindings format (attributes.metadata.bindings) and resolve through WP core's own pipeline — on the frontend via server-side render, and in the editor via a JS resolver that displays the actual live value rather than a placeholder.
The extension adds a database-cylinder toolbar icon to every core block that supports the WordPress 6.9 Block Bindings API, and an Inspector Dynamic Tags panel listing the same bindable attributes. Both paths write to metadata.bindings, so values are fully compatible with native Block Bindings tooling. The extension also registers JS-side resolvers so the editor canvas shows the resolved value in real time (including tracking unsaved title/excerpt edits for the current post).
The extension honours the Block Manager's enabled-extensions allowlist. If dynamic-tags is excluded, no editor UI or live-preview bindings register.
| Block | Bindable attribute(s) |
|---|---|
core/paragraph |
Content |
core/heading |
Content |
core/image |
Image URL, Attachment ID, Alt text, Title |
core/button |
URL, Text, Link target, Rel |
core/post-date |
Date |
Select a supported block, then open the Dynamic Tags panel in the block sidebar. Each bindable attribute is listed with a Connect button. Click the button to open the picker.
Single-attribute blocks (paragraph, heading, post-date): the toolbar shows one button that opens the picker directly.
Multi-attribute blocks (image, button): the toolbar shows a dropdown menu; select an attribute to open its picker.
The picker lets you choose a source and a key / field name appropriate to that source. The editor canvas updates the displayed value immediately once a binding is set.
To remove a binding, open the picker and clear the selection.
The following sources are built in and always registered:
| Source slug | Available when |
|---|---|
designsetgo/post-title |
Always |
designsetgo/post-excerpt |
Always |
designsetgo/post-id |
Always |
designsetgo/post-type |
Always |
designsetgo/post-permalink |
Always |
designsetgo/post-date |
Always |
designsetgo/post-modified-date |
Always |
designsetgo/site-title |
Always |
designsetgo/site-tagline |
Always |
designsetgo/site-url |
Always |
designsetgo/post-meta |
Always |
designsetgo/acf |
ACF active |
designsetgo/metabox |
Meta Box active |
designsetgo/pods |
Pods active |
designsetgo/jetengine |
JetEngine active |
Sources that require a field key (post-meta, acf, metabox, pods, jetengine) accept an optional scope argument — self (default), parent, or root — to read from an ancestor item in nested Dynamic Query scenarios.
Bindings resolve server-side at render time via the standard Block Bindings get_value callback registered with register_block_bindings_source(). No frontend JavaScript is involved.
Register a custom binding source using the public helper:
designsetgo_register_bindings_source( $slug, callable $callback, array $options );This wraps register_block_bindings_source() and applies DSGo's shared post-password / viewable / protected-meta security gates automatically. Use designsetgo_resolve_bindings_post_id( $args, $block ) to honour the scope arg when your callback needs to determine which post to read from.
Full API reference: ../api/BLOCK-BINDINGS.md
Dynamic Tags exposes a list-dynamic-tag-sources Ability so DesignSetGo's AI Abilities API can enumerate available sources and their field metadata when manipulating blocks programmatically.
- The extension applies to the five core blocks listed above. DSGo blocks can also expose bindable attributes — see
includes/class-block-bindings-support.phpand thedesignsetgo_block_bindings_supported_attributesfilter. - The
dynamic-tagsextension can be disabled globally via the Block Manager without affecting native WP Block Bindings on other blocks.
Auto-generated from
docs/extensions/DYNAMIC-TAGS.md. To update, edit the source file and changes will sync on next push to main.
- Accordion
- Advanced Heading
- Blobs
- Breadcrumbs
- Card
- Chart
- Comparison Table
- Countdown Timer
- Counter Group
- Divider
- Dynamic Image
- Fifty Fifty
- Flip Card
- Form Builder
- Grid
- Hotspot
- Icon
- Icon Button
- Icon List
- Image Accordion
- Map
- Modal
- Modal Api Reference
- Modal Auto Triggers
- Modal Fse Compatibility
- Modal Gallery Navigation
- Modal Trigger
- Pill
- Product Categories Grid
- Product Showcase Hero
- Progress Bar
- Query
- Query Filter
- Query Group Header
- Query No Results
- Query Pagination
- Query Results
- Row
- Scroll Accordion
- Scroll Marquee
- Scroll Slides
- Section
- Section Divider
- Slider
- Star Rating
- Sticky Sections
- Table Of Contents
- Tabs
- Text Path
- Timeline
- Background Video
- Block Animations
- Clickable Group
- Conditional Visibility
- Custom Css
- Draft Mode
- Dynamic Tags
- Expanding Background
- Grid Mobile Order
- Grid Span
- Hover Effects
- Max Width
- Responsive Visibility
- Reveal Control
- Scroll Parallax
- Sticky Header
- Style Binding
- Svg Patterns
- Text Alignment Inheritance
- Text Reveal
- Abilities Api
- Abilities Api Guide
- Block Bindings
- Draft Mode Api
- Form Webhooks
- Generation Contract
- Interactive Blocks
- Layout Flexibility
- Markdown Content Negotiation
- Rest Api Reference
- Wp Cli Reference
- Ai Assisted Development
- Best Practices Summary
- Block Controls Organization
- Block Development Best Practices Comprehensive
- Block Exclusion Guide
- Deploying To Wordpress Org
- Design System
- 2026 04 16 Blocks Editor Ux Design
- 2026 04 17 Theme 3 Inspector Ia
- 2026 04 21 Query Block Onboarding
- 2026 04 21 Query Capable Layout Blocks Design
- 2026 04 27 Block Roadmap Ideas
- 2026 07 01 Shape Divider Theme Inheritance
- 2026 07 02 Icon Block Dynamic Render Pilot
- 2026 07 06 Section Divider Block Design
- 2026 07 06 Section Style Variations Fse Design
- 2026 07 06 Section Styles Editor Preview
- 2026 07 07 Row Grid Overlay Hover Parity Design
- 2026 07 21 Conditional And Dup Label Sourcing
- 2026 07 23 Theme Block Type Animation Defaults
- 2026 08 16 Chart Block
- 2026 08 16 Greenshift Gap Roadmap
- 2026 08 17 Woocommerce Surface
- 2026 08 24 Loop Carousel
- 2026 08 24 Star Rating Block
- 2026 09 17 Abilities Drift Prevention
- 2026 09 17 Abilities Drift Prevention Implementation
- 2026 09 29 Existing User Regression Fixes
- 2026 09 29 Release Preflight Fixes
- Readme
- 2026 07 02 Block Authorability Audit
- 2026 09 29 Regression Fixes
- 2026 09 29 Release 2.9.0
- 2026 09 29 Release Fixes
- 2026 10 19 Bug Hunt
- 2026 10 20 Bug Hunt Round 2