Tell us what you are trying to do?
We are upgrading our toolset based site (hidden link). The test version of this site is at: hidden link. This will be migrated to hidden link when complete and the test site removed.
We have a search (Acquisitions tab on-site). This has a breadcrumb position of
Home>Aquisition Search
The search results take us to a custom post type the content of which is controlled by a content type template.
At this point, the breadcrumbs correctly change to
home>acquisitions>[name of post]
where acquisitions is the category for our custom type
I need to change that so that when in one of the posts the breadcrumbs are showing
Home>Aquisition Search>[name of post}
Do you know of any way to do this?
What is the link to your site?
We are working a test site the link is hidden link
During testing and research, I found that the Astra theme offers a "astra_breadcrumb_trail" hook, which can be used to customize the output of the breadcrumbs.
For example, to replace the post type link with the search page link in the breadcrumb of single post pages, you can use:
The custom code examples from our forum are shared to get you started in the right direction. You're welcome to adjust them as needed and for more personalized customization assistance, you can consider hiring a professional from our list of recommended contractors: https://toolset.com/contractors/