Using Stackable's Dynamic Content
Dynamic Content with Stackable is a premium feature
Stackable's Dynamic Content works for Stackable blocks, native blocks and possibly other third party blocks.
Adding Dynamic Content
First thing you will need to do is to simply highlight the text in the block you want to add Dynamic Content to. When doing so, you will find a globe icon in the Toolbar — that represents Dynamic Content.
When you click on the icon, a popup will appear with 2 initial drop downs — Dynamic Source and Field.
Select which Dynamic Source you want to add, and then which specific field. Afterwards, just click "Apply" to insert your Dynamic Field.
In this example, we will choose the Post Title in our current page.
Note: It’s not guaranteed that the Dynamic Content that's displayed inside the editor is the most updated one since most of the code’s logic is in the frontend. This means that if you change your post title later on, the changes in the Dynamic Content won't be reflected in the editor, but will be reflected when you view it in the frontend.
Selecting Blog Posts for Your Dynamic Content
One of the Dynamic Sources you can choose from is called Latest Post whichwill allow you toadd Dynamic Content from your existing blog posts. Once you select Latest Post, another drop down will appear wherein you can choose from which post you want.
Just follow the same steps as earlier and then click "Apply"
You can do this for all text inside your block. In this example, we will add the excerpt from one of our existing blog posts
Another thing you can do is to add a Post URL to your Dynamic Field and then show it as a link in the frontend
Selecting Your Own Custom Date and Time Formats
When using a date for dynamic content, you will have an option to format it using a custom format of your own.
Just click on the Dynamic Content button on the toolbar (the globe), and then select the text that you want to transform into dynamic content. After doing that, a pop up will appear for you to select where to get the content from.
After choosing your dynamic source, select Post Date, and then a dropdown will appear below which will allow you to select the date format
From there, you can select the date format that you want to use.
You also have the option to customize your format. Just select Custom, and then a text box will appear below where you can type in the format that you want to use
List of Custom Date Formats
For more information on custom date formats, you can visit this link 👍🏼