views:

15

answers:

0

Hi

I have a Wordpress installation for a restaurant, with a menu (food) with numbers.

The menu (food) numbers dosn't go from 1-50 continuously but starts with the next 5 like this:

Lunch offers: 1-4
Chicken sticks: 10-13
Chicken wings: 15-17
Salads: 20-23

This is made, so it's easy to add something within the different categories without the following menues would have to change the number.

However, this is very hard (for me at least) to make.

My solution is to give every category a number, in the description, and then add this number to the childs number of the category.

Ex.: Lunch offers (categoryDesc. = 1)
- (menuNumber = categoryDesc + ChildNo) Burger (childNo = 1)
- (menuNumber = categoryDesc + ChildNo) Chicken (childNo = 2)
- (menuNumber = categoryDesc + ChildNo) Salad (childNo = 3)

Does it make sense? If so, how do I achieve this?

Thank you in advance...