Here are two possible methods you can use to achieve this:
- Creating a Conditional Gutenberg Block: By defining conditions at the block or group of blocks level, you can control their visibility. The blocks will be displayed only if the specified conditions are met.
- Setting up a Trigger and Embedding it on a Page: Utilize a sequence of If > Then conditions to determine the content displayed. Based on the defined conditions and their order, a single version of the content will dynamically appear on the page.
Learn more about creating conditional content using Gutenebrg