Tell us what you are trying to do?
I have a page called Distributori (distributors) where I created a view that displays all my Distributori (a CPT). I'm trying to have this page to be a Parent Page to all the Distributori so that the Breadcrumbs can show Home>Distributori>Name-of-distributore.
Is there any documentation that you are following?
By reading the plugin instructions, so far I've managed to:
- remove archive page so there's no overlapping of URLs between Archive and My custom page Distributori
- get /distributori/ before the slug of each Distributore (see Attachment for settings)
But breadcrumbs don't show the correct path, cause they don't see Distributori as a Parent to the CPTs
Is there a similar example that we can see?
...
What is the link to your site?
hidden link
Thank you very much for your help
Hi, Toolset usually has no control over the structure or display of breadcrumbs. Those are normally generated by the active theme on your site in a way that Toolset does not influence. In a typical custom post type setup, you design the page displayed at the /distributori URL using a Toolset WordPress Archive for the Distributori post type, rather than using a separate custom Page. Then the Distributori posts are displayed using the standard URL structure like /distributori/post-title-slug-1, /distributori/post-title-slug-2, etc. I don't see anything on the /distributori page that would require a separate custom Page instead of a WordPress Archive, so I'm a bit confused about the non-standard setup.
Is there a specific reason why you chose to add a custom Page for the /distributori URL? As I said, normally you would use a WordPress Archive to manage the page displayed at this URL. If you remove the custom /distributori Page and use a WordPress Archive for the Distributori post type instead, are the default theme breadcrumbs displayed as expected? I ask because it seems like you have implemented an unnecessary workaround, unless I am misunderstanding something. If the breadcrumbs work better with a WordPress Archive instead of a custom Page, maybe we can figure out how to use a WordPress Archive for the Distributori post type instead of a custom Page at the /distributori URL if you explain the problem(s) in more detail.
I suppose another option is to make the Distributori custom post type hierarchical in the options for that custom post type at Toolset > Post Types > Distributori > Options panel. This option gives you the ability to create hierarchical parent and child posts, similar to how WordPress Pages allow parent and child pages in the same post type. In hierarchical posts, the post at /distributori would be a parent Distributori post, not a separate custom Page or WordPress Archive. But again, this seems unnecessary. It seems that the normal WordPress Archive setup would allow you to achieve the URL structure you want, assuming the breadcrumbs work as expected in this scenario. Please elaborate on your decision so I can help find a good solution that achieves everything you are looking for. Thank you!
First of all, Christian, thank you for the thorough reply!
Then, well, for some reason I had this idea that I wouldn't be able to style the Archive page with any other block other than the loop...After your reply, I checked the video courses again and well, I completely missed the "Add other blocks" option.
I'm sorry for the waste of time. I'm now creating my archive pages with no unnecessary turnarounds.
Thank you
My issue is resolved now. Thank you!