someone else might find this handy. and someone else might be able to improve upon it (hopefully).
i’m trying to manage a section menu from within the header (which will eventually be horizontal) without needing to resort to includes to make it work across categories, and sub-categories (and posts) and pages and subpages.
so far i have this:
AND i can now have color-coding styles which i will name after the ‘nicename’ version of each top-level page or category… so
class="mycategory"will match to a series of
background : blue;
but i’m still stuck on how to get something like the ‘current_page_item’ (which appears in the li class for the ‘current page’) into the li for the sub-categories.
any other links, tips, suggestions welcome.
- The topic ‘feedback? color coded menu across posts and pages’ is closed to new replies.