Tell us what you are trying to do?
I am trying to use custom field shortcodes in Divi code module.
Strangely, I can confirm that the shortcode is working, but when I use it inside the code, shortcodes seem to be returning empty strings.
At the following page, I have tried a few things to debug the issue.
The code should generate a Call Now button.
The first attempt (showing a broken image) is done inside a code module.
Second attempt is shown inside a text module (under text).
Third "attempt" is shown inside a text module (under visual so I can see the code generated). Sometimes this shows values coming through, sometimes it does not.
Fourth "attempt" simply returns the value of the cid field so confirm that the shortcode is working properly. This always works.
hidden link
Is there any documentation that you are following?
No.
Is there a similar example that we can see?
The identical code works perfectly inside a Toolset view, here hidden link
Hello. Thank you for contacting the Toolset support.
Can you please share admin access details so I can check whats going wrong with your setup.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
The thing is that Toolset offers limited integration with Divi builder and when it comes around using nested shortcode or shortcode within the quotes it usually breaks the output.
The workaround is, I've created the following content template and moved the following code you added to Divi Text module to this content template:
=> hidden link