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.

In my project i need to create restaurant menu card,i want to insert values given below

-menus(like dinner,lunch,breakfast)
  .
   -menu_group(like soup,juice)
    .
    .
       -menu_item
              apple-juice...................... $10
              milk_shake_apple................. $15
       -menu_item

    -menu_group

-menu

which one is best custom field or taxonomy? or is there any plug in to use

share|improve this question
    
You mean like this? –  MikeSchinkel Feb 4 '11 at 13:57
add comment

1 Answer

I would suggest a custom hierarchical taxonomy; call it 'menu'.

Top level terms (menus), have child terms (menu groups). Each child term has one or more posts (menu items) associated with it. Posts have custom fields (price) attached to them.

Note that you will need some custom code (a category walker) to display the menu items for each menu group on the front-end.

share|improve this answer
add comment

Your Answer

 
discard

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