Home Forums General Issues Custom Location Matching Rule ONLY


Custom Location Matching Rule ONLY

  • Hey Everyone,

    I’m wondering how to solve this problem. Here’s the scenario…

    We have a built a theme that we use internally for all of our clients. Currently the theme powers upwards of 200 websites. Naturally ACF is a big part of that.

    One of the things we struggle with is the upgrade process as our parent theme will sometimes include updates to fields etc.

    Using the JSON feature in ACF 5 solved that for us.

    So here’s our scenario. We’re trying to add a field group on to a custom post type. This is obviously very easy to achieve using the GUI but in order to preserve the site’s features and not break the upgrade process we can’t do that.

    So…. how would we programatically add a custom location matching rule. I saw the thread on that but, it looks like the matching filter is just for newly created values?

    Any direction on how to just add a new matching rule?

    Specifically it would be:

    Component Engine Group would appear on the custom post type Exhibits.

    Thanks in advance!

  • I’m a little confused about what you’re asking.

    You want to create a new field group in PHP and have it appear on a specific post type?

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

The topic ‘Custom Location Matching Rule ONLY’ is closed to new replies.