Support

Account

Home Forums General Issues Unique Slug / Different Field Groups

Helping

Unique Slug / Different Field Groups

  • Should the slug names be unique for every field even if they are in different field groups?
    I ask because I’m migrating from the Simple Fields plugin, I’m creating new ACF field groups based on the current Simple Fields field groups and I’d like to keep the slugs identical to avoid too much recoding.

    In Simple Fields you can use the same name for different fields if they are in different field groups, can I do the same in ACF?

  • Hi @jorgepreble

    Yes, you can do that, but it’s not recommended. The reason is that there’s a possibility that you will use the field groups that have fields with the same name in one page. This will cause a conflict and confusion in the future. So I suggest you rename it, so you don’t have to deal with the issue in the future.

    I hope this makes sense 🙂

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Unique Slug / Different Field Groups’ is closed to new replies.