label, get_post_type_archive_link($post_type)); } // Finally, add a crumb for the current post add_crumb(get_the_title($post_id), get_permalink($post_id)); ?>In this example, we use add_crumb to create breadcrumbs for a post on a WordPress website. We first add a crumb for the homepage, then if the post is part of a custom post type, we add a crumb for that post type archive. Finally, we add a crumb for the current post. This function is part of the WordPress package library.