Hiya,
Was just wondering if anyone can help point me in the right direction in order to get categories showing correctly on a site I’m producing?
Let’s say for example that I have a category structure like this :
Aluminium Fittings
Caps
Male / Female Adaptors
Hose JointersBrass Fittings
Ball Valve
Hose Repairer
Nozzle
Double Male Adaptor
Flat SeatedMiscellaneous
Air Gunet al.
Currently on the main home page I have it set up to only show the very top level categories i.e. Aluminium Fittings, Brass Fittings, Miscellaneous and so on and so forth.
This is fine. I now click on one of those top level categories and it directs to a new page and shows that category as open so something like this :
Aluminium Fittings
Brass Fittings
Ball Valve
Hose Repairer
Nozzle
Double Male Adaptor
Flat SeatedMiscellaneous
et al.
Again this is all fine. On this page I have some SQL goodness going on which basically takes you to either another category listing page or the listings of items incase we have more sub-categories or what not.
Again this is all fine.
The problem I have is when I go to a single entry page for a product.
Let’s say I have a product called Product One and it is located in the Brass Fittings->Double Male Adaptor->Flat Seated category.
I cannot for the life of me get my categories sidebar to look like this :
Aluminium Fittings
Brass Fittings
Ball Valve
Hose Repairer
Nozzle
Double Male Adaptor
Flat SeatedMiscellaneous
et al.
This is what I want to show so that the user can see exactly what category they are in and all the other top level categories. All I can get to show on the single entry page is every single category opened which presents them with a very very long list as there are 181 categories on the site!
Is there a way of doing this? Either with the built-in tags or perhaps a plugin maybe?
I’ve tried to test nearly every single plugin I can find for categories but don’t seem to be able to find a way of doing this. If anyone knows of a plugin that can do this then please could you let me know? 😉
If there is definitely no plugin that can do this on a single entry page then does anyone know how I could hide the categories that I don’t want to see perhaps using some Javascript?
Normally I wouldn’t really like to go that route but at this stage I’m open to anything.
Thanks for any help on this guys.
Best wishes,
Mark
Moved to CodeShare Corner by Moderator