Saved custom fields to be re-used across other CPTs?

Support MB Custom Post Type Saved custom fields to be re-used across other CPTs?Resolved

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #19365
    saintsaint
    Participant

    I'm creating a custom field called "hero headline" and it's something that will be used across multiple Field Groups.

    But, after I saved, I can't seem to find it again? Do I need to re-create 'hero headline' for each Field Group? I'm used to the way Toolset does things where after you create a custom field, you can re-select it again later on. I'm sure I'm just missing something obvious...

    #19374
    Long NguyenLong Nguyen
    Moderator

    Hi,

    The Builder supports using a field group for multiple post types, see my screenshot. If you want to use a field in multiple field groups, you should re-create that field in each field group.

    It's easy to reuse a field by coding, just copy and paste the field code to another place. But thanks for the idea, I will discuss with the developer team to create a new feature that supports the Builder to make a field reuseable.

    #19376
    saintsaint
    Participant

    Thanks, Long. So I can use the same field name with no issues right? What happens if two fields are named the same (e.g. hero_headline), and assigned to the same CPT?

    Will there be a naming conflict?

    #19388
    Long NguyenLong Nguyen
    Moderator

    Hi,

    The field name can be the same but the field ID must be unique https://cl.ly/e1d343673b2c

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.