I am trying to add this custom field to a divi template I have to style these custom posts, but the field I created is not showing up in the list of custom fields.
How can I have my custom fields in toolset show up in this list?
Do your posts already have values for that custom field?
I imagine that Divi scans a preview post to see what fields exist for that post when producing the list of fields that can be used as a source, and if the post being scanned doesn't have an entry for some field it will be missing from the list.
But I'm not sure as it is part of the Divi UI.
Toolset custom fields are stored as standard post meta (in the table wp_postmeta), and if your posts have entries for a Types custom field then I'd expect them to be picked up by Divi (just like if you were adding custom fields using the native WP UI). The only thing to be aware of is that Types stores custom fields with a 'wpcf-' prefix, so if you had a custom field "priority" it would be stored in wp_postmeta with a key of 'wpcf-priority'.
If your posts have entries for the custom fields and they don't show up, you would be better asking Divi support why not.
The topic ‘[Closed] I'm trying to add a custom field to a Divi theme template’ is closed to new replies.