Home › Forums › General Issues › Insert Cat ID into Query › Reply To: Insert Cat ID into Query
Good snippet! But unfortunately it’s the same situation in that if I manually enter the id of the category, replacing “array($part_category)”, it works, but as it is I don’t get any result from the code.
I’m not sure, but I’m wondering if I’ve set up the custom field wrong, and after that, if there is something funky set up in CPT UI? For now I’ve attached a screen shot from ACF for the field.
Thanks!
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.