Skip Navigation

[Resolved] Include post type in breadcrumb

This support ticket is created 5 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by leilaG 5 years, 9 months ago.

Assisted by: Christian Cox.

Author
Posts
#1195392

Hey! How do we include the post type name in the breadcrumb on a CPT page

hidden link

I have looked in the theme template for this CPT and cannot see any separate code for breadcrumb.

Only this title code
<?php get_template_part( 'title' ); ?>

#1195574
Screen Shot 2019-02-04 at 12.51.57 PM.png

Hi, I'm not sure exactly how these breadcrumbs are generated. They could be part of the theme's template files, or they could be overridden by another plugin (like Yoast SEO, for example). Typically Toolset doesn't have the ability to customize the display of breadcrumbs, since this area isn't part of the_content() and different themes handle them different ways (or not at all). I would perform a text search in your parent and child theme files for some CSS class applied to the breadcrumb links, like "breadcrumbs_inner", and that might help you figure out how the breadcrumb markup is generated. Then use template hierarchy in your child theme to override that template somehow for each custom post type.

#1196154

My issue is resolved now. Thank you!