ok, let’s say you’re visiting the root of my website:
http://example.com
here, i want all the categories to be listed in the sidebar as links. i’ve accomplished that using the wp_list_cats(); let’s say i have 5 categories. let’s say one of them is called ‘linux’ and you click on it. you are now taken to:
http://example.com/categories/linux/ (…using permalinks)
now, all the posts from the ‘linux’ category are shown and also all the categories are still in the sidebar. what i want to do is make the ‘linux’ category link now inactive since it’s open.
simply said… whatever category you open, make it’s link inactive on the next page.
hmm… is it something to do with CSS or with the code itself? i’m using the wp_list_cats() function to display the category list. any ideas!?