Listing categories on multiple columns
-
Hi everybody,
I have a category (say, ID=12 for the purpose of the example below) with 45 children categories. What I would love is to display the 45 children categories on 3 different columns (15 in each).
Now I know I can go:
-
<?php wp_list_categories(‘child_of=12&depth=1&number=15’); ?>
(or something like that for one column and then repeat 2 times and EXCLUDE the ID’s of all previous categories)
I’m ok with repeating the function 2 more times, but what I would love to know is if it’s possible to sort of ‘offset’ the display of the list; forcing the function to only output categories AFTER the first 15, or 30…
Or if anybody has a good idea on how to achieve this differently, I’m all ears.
Thanks!
Sam
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Listing categories on multiple columns’ is closed to new replies.