Meta Query help needed (ACF)
-
Hi,
I am building a database of devices. I have a Custom Post Type with ACF fields “Manufacturer” and “Year of Manufacture”. I want to create a separate page for each of the different manufacturer where the AQL can pull in the Post title and Year of Manufacture for that manufacturer. Format will be
Post title – year of manufacture
For example lets say I am creating a site which has the specifications of smart watches. So my Custom post type can have ACF fields Manufacturer and Year of Manufacture. i make a post for Samsung smartwatch with the title “Samsung smart watch galaxy 1” and ACF field Manufacture will have value “Samsung” and Year of Manufacture will have value “2025” and the query should display these entries in descending order. How do I create the query so that on the page, the query shows the post title and Year of manufacture for all posts under samsung?
I tried building the meta query but it’s not working and I am unable to figure it out. I have exposed the field to the REST api
Thanks.
The topic ‘Meta Query help needed (ACF)’ is closed to new replies.