Support

Account

Home Forums General Issues Assigning fields group to a custom post type and a particular post template

Solving

Assigning fields group to a custom post type and a particular post template

  • Hi!
    I created a custom post type (campaign). I also created a group of custom fields for this new post type but I want to add a second condition (rules), a post template for the custom post type. So instead of choosing something like:
    Rules
    Show this field group if

    Post type = Post
    AND
    Post Template = MyTemplate

    This would be:
    Rules
    Show this field group if

    Post type = Campaign
    AND
    Post Template = MyTemplate

    When I create a new campaign even if I choose the MyTemplate, the ACF fields do not show up. However, if I associate the field group only to the custom post type, it works.

    I don’t want to create a new custom post type for every template. I would like to have a unique custom post type with severay group of fields attached to a specific template.

    Thank you.

  • This should be working, or at least I thought it was, but I have never used cpt templates. You should contact support here https://www.advancedcustomfields.com/contact/

  • Thank you for your help. I contacted the support.

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

The topic ‘Assigning fields group to a custom post type and a particular post template’ is closed to new replies.