I have a breadcrumb / navigation problem. I don't know if it's possible to achieve what i want or if i can do it with mysetings or not.
I have a custom post type "Formation", for which i created 2 custom taxonomies : "Formation type" (formationtype) => hierachical "Formation public" (formationpublic) => non hierarchical
Formation type :
- FT1
- FT1.1
- FT1.
- FT2
- FT2.1
And "formation public" public1, public2, ...
I want to have this menu links :
...
- Formations (non clickable)
- FT 1 (clickable)
- FT 2 (clickable)
and when I click on FT 1, I have a page displaying a list of all formation of type FT1
- FT11
- formation1 of type FT11
- formation2 of type FT11
- FT2
- formation1 of type FT12
- formation2 of type FT12
And finally when i click on one of the formations : "formation1 of type FT11" i get the complete description of that formation.
So my goal is to be able to make a breabcrumb like :
<Home> / <Formation> / FT1
with the url : http://mydomain/formation/formation1-of-type-FT11 And
<Home> / <Formation> / <FT1> / <FT11> / formation1 of type FT11
With all the non final elements <...> being clickable to be able to navigate through the breadcrumb and not having to go back to the menu.
Since I create my lists with custom requests, if i use any breadcrumb tool, i only get something like : Home / FT1 (at best)
For the second type of taxonomy, I associate one or several terms from "formationpublic" (doctor, nurse, ...) to a formation, I have in the complete description of that formation :
- formation1 of type FT11
- Public : ,
- Description ....
If i choose doctor, i have the list of all formation for doctors, but i choose from there a formation i loose the breadcrumb, it is different from the Formation type path. I have the url : http://mydomain/formation/formation1-of-type-FT11
So my question is what would you suggest as a structure to have "working" breadcrumbs as i (tried to) explain ? Thank you
Aucun commentaire:
Enregistrer un commentaire