Overview
Nectarblocks includes a dynamic data system that allows you to pull data from your WordPress site. This is useful for pulling data from ACF fields, custom post types, and more.
You can utilize dynamic data in various block controls to create data-driven content that is automatically updated when the data is changed in WordPress.
Inserting Dynamic Data
Fields that support dynamic data will have a Dynamic Data
database icon next to the field label. You can click the icon to open the dynamic data modal to select your data source and field to use in the block.
Next Steps
📄️ Data Types
Nectarblocks Dynamic Data currently supports the following data types:
📄️ Loops
One of powerful use cases for utilizing Dynamic Data is to loop through a set of data. This can be useful for displaying a list of items, such as posts, pages, or custom post types.
📄️ Templating
This feature relies on the hooks registered within the Nectarblocks theme. If you are using a different theme, you will not be able to take advantage of this feature.