$args['include_current'] = false; breadcrumb doesn't work on replies
-
I have added this code to my functions.php file
function mycustom_breadcrumb_options() { // Home - default = true $args['include_home'] = false; // Forum root - default = true $args['include_root'] = true; // Current - default = true $args['include_current'] = false; return $args; } add_filter('bbp_before_get_breadcrumb_parse_args', 'mycustom_breadcrumb_options' );
… but that last argument only works for the original post, which returns something like this:
Forums › Assignment Submissions ›
On the replies underneath it includes the current location, something like this:
Forums › Assignment Submissions › Assignment 24: 1st 24 hours in Crown Point, Tobago
You can see this in action here.
How do I remove that last part in the replies?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.