Shortcodes in Gutenberg – Dynamic Sources
When you need to display fields in Gutenberg, there’s no more need to use shortcodes. Instead, use Dynamic Sources in pages, templates, and archives.
For years, WordPress developers have used shortcodes to display dynamic elements. Dynamic Sources offer a more convenient way to create templates, archives, and custom elements. No more need to memorize magic shortcodes. Instead, pick the fields that you want to display and choose styling options.
Example – Displaying a custom field as a block
Toolset adds Dynamic Sources controls to any block. See how to display a quote, which comes from a custom field.
Example – Locations on a map
A View lets you load any content from the database and display it any way you want. See how to create a View that loads gym locations and displays them on a Google Map.