Hi there,
I’ve added some custom dynamic content via the API (https://theme.co/docs/dynamic-content-api). I couldn’t find a change, but this method doesn’t work with the new Twig notation (see error below). It seems to be a problem with the key.
When I select a DC from the picker it defaults to the Twig notation instead of the old DC notation. So currently, I write all my custom DC by hand.
Is there a new documentation available for how to make custom dynamic content compatible with the twig notation?
//DC notation
{{dc:custom-dc:name key="value"}}
//Twig notation
{{ custom-dc.name({"key":"value"}) }}
//Error from Twig notation with the key
Unknown "access" function in "if wp-members.has-access ({"membership":"test"}) 1}
" at line 1.