Hi Christian,
I am in my last step of putting together all my online classes. In terms of the 4 kinds of navigation that I wanted on my class pages (URL, breadcrumb, sidebar, and per-page), the last two work exactly how I want.
I would like help making a base change to the class-part taxonomy slug (I think) in order to make the following happen:
URL structure:
Desired result:
My Classes page at knitfreedom.com/my-classes
Individual classes (class-part taxonomy archives) at knitfreedom.com/my-classes/class-name
Right now the structure looks like:
My Classes page at hidden link
Individual classes at hidden link
Side note: I did try a URL manipulation plugin but it basically just makes redirects to the old URL. Plus you have to make the change on each page, and I have 570 Online Class Chapters affected by this setup. Anyway-
I made a backup and started experimenting. If I change the class-part taxonomy slug to "my-classes" and delete the first-level term (My Classes) from the taxonomy, the URLs of the individual classes work as desired. However, there is no page at knitfreedom.com/my-classes (just like there is no page right now at knitfreedom.com/class-part).
Breadcrumb structure:
Desired breadcrumbs:
My Classes > Taxonomy Term Level 1 > Taxonomy Term Level 2...
The current breadcrumbs that show up in the classes are: Online Class Chapters > Taxonomy Term Level 1 > Taxonomy Terms Level 2, etc. e.g. currently Online Class Chapters > My Classes > Knitting Superstar.
In Yoast settings I can change the "Online Class Chapter" breadcrumb to say "My Classes." It goes to hidden link, which isn't a useful page for my users. I can redirect that to knitfreedom.com/my-classes, which is what I want, but that page doesn't exist.
Code issues:
Changing the class-part taxonomy slug affects the code snippets you gave me, plus all the layouts based on the taxonomy. I think this is fixable if I document everything beforehand, but I definitely lose the layouts (assigned per taxonomy level) and couldn't get the new my-classes archive pages to show up in the layouts (after I changed all the "class-part" to "my-classes" in the code you gave me).
I am going to request a video call to ask you about this, because I think it merits discussion before trying a bunch of things, and I basically don't see a clear solution to achieve my desired effect. I really appreciate you helping me with this. Because of your help, I've been able to create huge, easily-navigable classes with little effort, and they are exactly what I want (see, for example, hidden link).
Liat