Alright so i found the code where the Breadcrumb trail is made:
Located in the admin/inc/ folder the file named class_page.php
around line 242 in the code is where it for me starts.
Sadly my php / js isnt the best but I will be looking into this code.
If someone finds a solution please post it!!
If I solve the issue I will post again!
Located in the admin/inc/ folder the file named class_page.php
around line 242 in the code is where it for me starts.
/**
* Add an item to the page breadcrumb trail.
*
* @param string $name The name of the item to add.
* @param string $url The URL to the item we're adding (if there is one)
*/
function add_breadcrumb_item($name, $url="")
{
$this->_breadcrumb_trail[] = array("name" => $name, "url" => $url);
}
/**
* Generate a breadcrumb trail.
*
* @return bool|string
*/
function _generate_breadcrumb()
{
if(!is_array($this->_breadcrumb_trail))
{
return false;
}
$trail = "";
foreach($this->_breadcrumb_trail as $key => $crumb)
{
if(isset($this->_breadcrumb_trail[$key+1]))
{
$trail .= "<a href=\"".$crumb['url']."\">".$crumb['name']."</a>";
if(isset($this->_breadcrumb_trail[$key+2]))
{
$trail .= " » ";
}
}
else
{
$trail .= "<span class=\"active\">".$crumb['name']."</span>";
}
}
return $trail;
}
Sadly my php / js isnt the best but I will be looking into this code.
If someone finds a solution please post it!!
If I solve the issue I will post again!