In other words, you use dynamic sources when you need to display any dynamic content in WordPress:
- Custom lists of posts
- Templates for single-post pages
- Archive pages
- Front-end forms
The best part is that besides Toolset blocks, you can use dynamic sources in popular block plugins.
Let’s say you’re creating a custom list of «Gym» posts. For each listed gym, visitors need to see its own title, content, custom fields, and so on. For this to happen, all you need to do is select a dynamic source for each element you want to display.
Toolset blocks allow you to select which dynamic source to display and how you want to style it.
Here’s an example of displaying a dynamic heading with a value coming from the current post’s title.
Watch the following video to see a quick walkthrough of using Dynamic Sources in Toolset, core, and popular blocks.