views:

42

answers:

0

Hello

I tried to get some help ealier, but I think it didn't make any sense, what I wronte.

Sorry for my realtivly bad English.

Wordpress: I have several categories, with a number in each description. Every category has some children. Example 4. I need some type script, that takes the category description (the number specified) and add it to, what-ever number child.

Category (Decription = 10)
- Category child 1 = 1
- Category child 2 = 2
- Category child 3 = 3

Output:
Lunch offers:
10. Chicken burger
11. Salad
12. Pizza

How its done:
Lunch offers (Cat. desc. = 10)
(menuNo. = (Cat. desc.) Chicken burger
(menuNo. = (Cat. desc. + child number) Salad
(menuNo. = (Cat. desc. + child number) Pizza