We have inbuilt functionality to display subheader and breadcrumb for all CPTs and their archive pages
You will find the corresponding option at:
Dashboard >> Appearance >> Customize >> Sub Header
You can adjust the height, color, text, and link color of the content displayed on the subheader. It comes with a default subheader image that can be updated for each custom post type.
- Sub Header Height (px): This allows you to set the height of the subheader in pixels.
- Header Image Background Color – This allows you to set the background color of the header image section. Note that this will only reflect if there is no image.
- Header Image Overlay Color – This allows you to set the image overlay color.
- Header Image Text Color – This allows you to set the text color of the header image section.
- Enable Header Image – This allows you to enable/disable subheader images on single post-type pages.
- Sub Header Image – This allows you to select page header images for a single custom post-type page.
- Switch Header Image With Featured Image – This will show the post featured image on the top header section on a single post page, and the featured image will be removed from the post content.
- Enable Breadcrumb – This allows you to enable or disable the breadcrumb.
- Hide/Show Global Subheader – This allows you to enable/disable page sub-header globally at a single CPT.
Subheader Image background-color
Sub Header Image Overlay color
Sub Header Text Color
Sub Header Link Color
Enable/Disable Breadcrumb