I need someone to fix my wordpress breadcrumb function (as in code that goes in functions.php withing a theme) so that it handles all custom post types, taxonomies, etc. automatically and universally. Currently the code I am using is hacked to work with woocommerce custom post types and taxonomies, I need it to work with all custom post types.
The plugins called "prime strategy breadcrumb" (http://wordpress.org/extend/plugins/prime-strategy-bread-crumb/) and Breadcrum Trail (http://wordpress.org/extend/plugins/breadcrumb-trail/) both provide the functionality I need, but for this project I cannot rely on a plugin.
I need the functionality of those plugins added to my breadcrumb function, maintaining the structure and simplicty of the function, rather than the needlessly complex structure of the plugins referenced.
This is the most important aspect, the simplicty and easy to understand structure of the code used in my function must be maintained.