I created a custom post type called "Agents", I would like it to be nested hierarchically under a parent page called "Our Team" (not an archive) so that when users are navigating with breadcrumbs they see something like: Home > Our Team > [agent name]
In the settings for the "Agents" post type, I made sure to check "Page attributes" and "hierarchical". But there doesn't seem to be a way to set the parent page in the content template I made for Agents (if that's ever even an option), and in individual Agent posts there's a) a dropdown to select parent page in Quick Edit but Main Page (no parent) is the only option that appears, and b) in normal edit mode there's a field under Page Attributes called "PARENT TEXT" but the field doesn't appear to do anything - it doesn't pull up a list of potential parent pages, nor does it save any text I enter
Hello. Thank you for contacting the Toolset support.
Toolset do not control the breadcrumbs. Toolset will have only effect within the the_conent(body) area.
The breadcrumbs must be added by the theme you are using. To implement such custom feature is beyond the scope of our support policy. If you need custom programming for your project you are welcome to contact any of our certified partners:
- https://toolset.com/contractors/
You will have to write custom shortcode or custom code that should return the breadcrumbs as per your requirement. Please check the following links that may help you:
- hidden link
- hidden link
I probably wasn't clear in what I was asking. The breadcrumbs I'm using should do what I want provided the proper post hierarchy is in place. I was confused why checking off "hierarchal" in the custom post settings (along with "page attributes" which it says is also a prerequisite) wouldn't let me assign a parent post to the custom posts. Are you saying such a thing just not a feature in this case, or just that breadcrumb behavior itself is beyond the scope of Toolset?
As you can see the "hierarchical" option description with the following screenshot:
=> hidden link
If you want to assign parent page then you must have to activate the "hierarchical" option so that will allow you to set hierarchy of the page and to set the hierarchy (parent) you will have to activate the page attribute option as well.