Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Feature Request: Allow queries to ACF fields specific to a Category #52

Closed
lyonsv opened this issue Aug 23, 2019 · 4 comments
Closed

Feature Request: Allow queries to ACF fields specific to a Category #52

lyonsv opened this issue Aug 23, 2019 · 4 comments
Labels
Location Rules Issues related to ACF Location Rules

Comments

@lyonsv
Copy link

lyonsv commented Aug 23, 2019

Feature

Category specific ACF fields are not currently available to query and need to be mapped.

Example

The below will not appear in our schema:

image

@lyonsv lyonsv changed the title Featured Request: Allow queries to ACF fields specific to a Category Feature Request: Allow queries to ACF fields specific to a Category Aug 26, 2019
@RAYAPINAntoine
Copy link

Hi lyonsv,

I get the same probleme do you find a way to fix it ?

Or if somebody else have already fix this can help us please ?

@kuworking
Copy link

Me too, is there any link that describes what is enabled currently in this conditional showing?

@jasonbahl jasonbahl added the Location Rules Issues related to ACF Location Rules label Feb 24, 2020
@muradbu
Copy link

muradbu commented Dec 27, 2020

Is this still being maintained?

@jasonbahl jasonbahl added this to the ACF Schema Location Rules milestone Mar 30, 2021
@jasonbahl
Copy link
Contributor

jasonbahl commented Apr 20, 2021

👋🏻 Sorry for the delay on this!

With v0.5.0 (#250) this is resolved!

Below is a screenshot showing the location rule adding the field group to a specific post category.

In the WP Admin, this means the field group will only show for editors to interact with for posts with that category assigned, and in WPGraphQL the field group will be associated with the Post type so that the field group can be queried on any Post (as the associated categories aren't known until the query is resolved).

Screen Shot 2021-04-20 at 3 57 44 PM

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Location Rules Issues related to ACF Location Rules
Projects
None yet
Development

No branches or pull requests

5 participants