OK, it works because when the switch is processed, $current_path is still set on the last category that was processed. Yes, it will work correctly for every subcategory you hard-code into the switch.
OK, it works because when the switch is processed, $current_path is still set on the last category that was processed. Yes, it will work correctly for every subcategory you hard-code into the switch.
Bookmarks