Home › Forums › General Issues › Numberposts & Meta Query Not Working › Reply To: Numberposts & Meta Query Not Working
First of all, thank you for your continued help. I really appreciate it.
I tried the code you suggested, but haven’t yet solved either of the issues. I feel like we’re getting closer to finding the issue.
The cs_industry is a taxonomy relating to the custom post type “case study”. And the variable $relatedCat does give a number (e.g. 1079).
When I print_r($args), I get:
Array ( [posts_per_page] => 3 [post_type] => case_study [meta_query] => Array ( [0] => Array ( [key] => cs_industry [value] => "1079" [compare] => LIKE ) ) [orderby] => DESC )
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.