Support

Account

Home Forums General Issues Foreach Loop Inside a Foreach Loop

Unread

Foreach Loop Inside a Foreach Loop

  • Great plugin!

    I was wondering if it would be possible to create a foreach loop inside another foreach loop. Basically I got what I am trying to do but its not 100% there. Basically i want to display a category of lets say Trucks. Then on that page, I need to display Ford Trucks, GM Trucks, Jeeps, etc. Each type of truck gets its own section on the page. Inside each of those sections is each individuals truck image. When clicked on it goes to that trucks info.

    So i am guessing a foreach loop inside of a foreach loop would be the answer. But my main question would be is this possible with the ACF plugin?

    I have attached an image of an example of kinda what i am going for.

    or am I just crazy and this is way easier than I am making it.

Viewing 1 post (of 1 total)

The topic ‘Foreach Loop Inside a Foreach Loop’ is closed to new replies.