Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm creating a directory of restaurants with Custom Post Types. Each restaurant's information has its own post. I would like to be able to add the restaurant's menu items to each custom post type and I'm curious how I would achieve this.

I would need to make a number of fields which contain information about each menu item - the name, price, and description. I would also need the ability to click a button that says "Add another" which would then produce another row of these fields so the user can add another menu item.

I'd be very appreciative if anybody knew how to do this or had a link to a tutorial.

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

Check out this tutorial- Adding Custom Fields to a Custom Post Type, the Right Way, it may help you out :)

http://blog.teamtreehouse.com/adding-custom-fields-to-a-custom-post-type-the-right-way

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.