I have found the template tag: `/**
* Output a breadcrumb
*
* @since bbPress (r2589)
*
* @param string $sep Separator. Defaults to ‘←’
* @param bool $current_page Include the current item
* @param bool $root Include the root page if one exists
* @uses bbp_get_breadcrumb() To get the breadcrumb
*/
function bbp_breadcrumb( $args = array() ) {
echo bbp_get_breadcrumb( $args );
}
/**
* Return a breadcrumb ( forum -> topic -> reply )
*
* @since bbPress (r2589)
*
* @param string $sep Separator. Defaults to ‘←’
* @param bool $current_page Include the current item
* @param bool $root Include the root page if one exists
*
* @uses get_post() To get the post
* @uses bbp_get_forum_permalink() To get the forum link
* @uses bbp_get_topic_permalink() To get the topic link
* @uses bbp_get_reply_permalink() To get the reply link
* @uses get_permalink() To get the permalink
* @uses bbp_get_forum_post_type() To get the forum post type
* @uses bbp_get_topic_post_type() To get the topic post type
* @uses bbp_get_reply_post_type() To get the reply post type
* @uses bbp_get_forum_title() To get the forum title
* @uses bbp_get_topic_title() To get the topic title
* @uses bbp_get_reply_title() To get the reply title
* @uses get_the_title() To get the title
* @uses apply_filters() Calls ‘bbp_get_breadcrumb’ with the crumbs
* @return string Breadcrumbs
*/
function bbp_get_breadcrumb( $args = array() ) {`
But I haven’t any idea how to use it. I know I need to add the function into functions file but I need the actual function. Then I need to call that function in the template file. Suggestions?
My functions file doesn’t have any breadcrumb functions in it. Is the function supposed to be added there automatically? What I am trying to figure is what is the actual breadcrumb function and where should it be located?