Hide Category Breadcrumbs in Divi Breadcrumbs Module


My Divi Breadcrumbs Module allows you to display breadcrumbs links on your site. These links are autogenerated and, on posts, include the category the post is in. If you're prefer not to display the category on breadcrumbs on single post pages, you can use the following PHP code:

add_filter('et_pb_dmb_breadcrumbs_category_crumbs', 'dbc_remove_breadcrumbs_on_posts');

function dbc_remove_breadcrumbs_on_posts($crumbs) {
	if (is_single()) {
		return array();
	return $crumbs;

This post may contain referral links which may earn a commission for this site

Hundreds of new features for Divi
in one easy-to-use plugin


Submit a Comment

Your email address will not be published. Required fields are marked *