Breadcrumbs work strangely. How to fix?
-
I am currently manipulating with the function that was posted on forums a few days ago and I can’t find a way round a funny issue.
I erased homepape as a first part of my breadcrumb.
There are two options right now and neither are working for me. I will present it underneath (bold means clickable). I either get this
forum>forum | forum>category1 | forum>category1>topic
or this:
forum | forum | forum>category1I want:
forum | forum>category1 | forum>category1>topic
or this:
(nothing) | forum | forum>category1Any ideas?
The function I’m trying to get to work is diplayed below
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'] = true;return $args;
}
- You must be logged in to reply to this topic.