GutenBricks
  • ๐Ÿš€ Getting Started
    • Next: Common Troubleshooting Issues
    • Next: Configure Page Template to render
    • Next: Manage Block using Template Bundles
    • ๐Ÿค”Most common troubleshooting step
  • ๐ŸŒŸFeatures
    • Working with Elements
    • Variants
    • InnerBlock
    • Fine-Tune Text Editing
    • Dynamic Class
    • Code Block with Dynamic Data
    • ๐Ÿ’กQuick Tips
      • Dynamic Short Code
      • Accordion Block using InnerBlock
    • โšกAdvanced
      • Custom Block HTML ID
      • Value Binding (coming soon)
      • Creating "comments and docs" inside a template
      • Globally Updating Block Styles
      • Block Wrapper Dynamic Class
      • Working with WPML or Polylang
  • ๐Ÿ€Dynamic Data
    • GB:Meta
    • ACF
      • Setting Up ACF
      • Post Object Field (in-progress)
    • Meta Box
      • Setting Up Meta Box (In-progress)
      • Post Field (in-progress)
    • Built-in GutenBricks Dynamic Data
  • ๐ŸฐClient Experience
    • Documenting Blocks
    • Custom Block Preview
    • Custom Pop-up Text
    • Default Page Template
  • ๐Ÿ› ๏ธCustomizing Gutenberg
    • Gutenberg Editor Custom CSS
      • CSS Snippet: Make the block section not full height for ACSS
  • ๐ŸคนResources
    • ๐Ÿ‘ฉโ€๐Ÿ’ป Developer API
      • echo:gb_current_element_id returns unique ID
      • GutenBricks Events for Gutenberg Editor
      • gb_get_field()
      • Unique IDs
      • Filter: gutenbricks_bricks_theme_name
    • ๐Ÿ”Œ Third Party Integrations
      • ACSS integration with GutenBricks
        • ACSS 2.8.0 Section padding missing
      • ACF / Meta Box integration
    • โค๏ธ Our Approach and Philosophy
  • ๐Ÿ“– Changelog
    • Known issues and bugs
    • Current Changelog
    • Past Changelog
      • v1.1-RC (Released as v1.1.0)
      • v1.0-RC (Released as v1.0)
Powered by GitBook
On this page
  • Overview
  • Change Default "ACF Settings"
  • Change the Pop-up Text
  • Advanced: Understanding Post ACF Data VS Block ACF Data
  1. Dynamic Data

ACF

PreviousGB:MetaNextSetting Up ACF

Last updated 9 months ago

Overview

You can use ACF fields to edit and apply values within blocks. In this case, the data only exists in a particular block. In the example below, you can see the ACF settings on the right-hand side where you can edit the fields. Once updated, the value will instantly update on the block.

Change Default "ACF Settings"

You can change the default "ACF Settings" text in GutenBricks settings under the Client Experience Tab.

Change the Pop-up Text

Users are not allowed to edit dynamic data on the canvas. This is due to technical limitations and to provide a better editing experience, as it is easier to edit most dynamic data using forms (e.g., Repeater).

Advanced: Understanding Post ACF Data VS Block ACF Data

You can still render ACF data saved within posts, pages, and CPTs. GutenBricks will first look for the data within the block and then move on to looking for data saved within posts, pages, and CPTs. You can programmatically access the values saved in blocks using gb_get_field()

GutenBricks displays a pop-up message informing users that they cannot edit the field directly on the canvas. You can change the default pop-up text here:

๐Ÿ€
Override the Dynamic Data pop-up text
You can change group name "ACF Settings" in the settings
"ACF Settings" is changed to "My Custom ACF Name"
Users are not allowed to edit dynamic data,