Query for getting posts with their custom fields data in WordPress

enter image description here

Suppose I have two categories A and B. Now I have uploaded some Posts A1, A2 under Category A and B1, B2 under Category B. Also for every Posts I have added some new custom fields using ACF plugin like thumbnail_image, first_image,second_image,third_image. I have added image for better understand below.

So if I want to retrieve all the Posts of Category A with their custom fields what is the Query.

Anybody help please ? thanks in advance

Read more here:: Query for getting posts with their custom fields data in WordPress

Leave a Reply

Your email address will not be published. Required fields are marked *