Can one loop through an ACF post for key/value pairs?

[ad_1]

I’ve designed a questionnaire to collect information and present the collected data as first person responses.

For the life of me I can see no automated way to access then loop through the data in key/value pairs so that I can present it as in the example: (key:) “I was born in (value) 1984.”

It seems as if I need to retrace the same tedious process of creating the input fields to retrieve the data in the cells.

Is there a function to get_ the_post( $post->ID ) and for each field echo the result?

Everything I’ve found through searches suggest writing lines for the approximately 30 questions and styling them individually.

I bought a lifetime licence back when it was $25 and the prospects sounded promising until I had to be doing so much manual writing, it was tiresome and that project withered away.

But it’s AI days now and I thought things had changed so I dusted off my account and downloaded the latest version, created my form with a custom post type and stored data perfectly only to be fighting to display the results.

Help! please by pointing to the “how to” docs.

Thanks.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer