Home › Forums › General Issues › How do I create a restaurant menu? › Reply To: How do I create a restaurant menu?
Hi @alpinepvp
The repeater field is a great add-on to create repeatable data.
A normal custom field can only contain 1 value, this is great for ‘Hero Image’ or ‘Welcome Text’.
If you require the ability to create multiple values for the 1 field, this is when you need repeatable data and the repeater field.
The repeater field will create a table like interface where you can specify the columns (like in excel) and then enter as many rows of data as you wish.
This will be great to add each dish as a new row on the repeater field. Please checkout the docs to learn how to simply loop over the rows of data and output each dish!
Thanks
E
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.