Home › Forums › General Issues › How do I create a restaurant menu? › Reply To: How do I create a restaurant menu?
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!
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!
CPT registration is coming to ACF! We demoed the new feature during the most recent session of ACF Chat Fridays. Check out the summary for the details. https://t.co/k2KQ3WWBAz— Advanced Custom Fields (@wp_acf) March 7, 2023
© 2023 Advanced Custom Fields.