{"action":"opened","issue":{"url":"https://api.github.com/repos/Asgaros/asgaros-forum/issues/159","repository_url":"https://api.github.com/repos/Asgaros/asgaros-forum","labels_url":"https://api.github.com/repos/Asgaros/asgaros-forum/issues/159/labels{/name}","comments_url":"https://api.github.com/repos/Asgaros/asgaros-forum/issues/159/comments","events_url":"https://api.github.com/repos/Asgaros/asgaros-forum/issues/159/events","html_url":"https://github.com/Asgaros/asgaros-forum/issues/159","id":301576631,"number":159,"title":"Customize breadcrumbs","user":{"login":"r3dunlop","id":5428160,"avatar_url":"https://avatars1.githubusercontent.com/u/5428160?v=4","gravatar_id":"","url":"https://api.github.com/users/r3dunlop","html_url":"https://github.com/r3dunlop","followers_url":"https://api.github.com/users/r3dunlop/followers","following_url":"https://api.github.com/users/r3dunlop/following{/other_user}","gists_url":"https://api.github.com/users/r3dunlop/gists{/gist_id}","starred_url":"https://api.github.com/users/r3dunlop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r3dunlop/subscriptions","organizations_url":"https://api.github.com/users/r3dunlop/orgs","repos_url":"https://api.github.com/users/r3dunlop/repos","events_url":"https://api.github.com/users/r3dunlop/events{/privacy}","received_events_url":"https://api.github.com/users/r3dunlop/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-01T22:04:03Z","updated_at":"2018-03-01T22:04:03Z","closed_at":null,"author_association":"NONE","body":"Having the forum name in the breadcrumbs can get a little long. In our case it gives useless information as our base users only ever see one forum. We do have a small portion of users that can see multiple forums, but there are never categories that have the same name. This can also make the breadcrumbs span a large portion of the page, which is especially cluttered for mobile users. We have been applying the current solution at `forum-breadcrumbs.php` line 50:\r\n``` php\r\nif ($this->breadcrumbs_level >= 2 && $this->asgarosforum->current_forum) {\r\n     $element_link = $this->asgarosforum->getLink('forum', $this->asgarosforum->current_forum);\r\n     //ADD THIS\r\n     $element_title = esc_html(stripslashes($this->asgarosforum->current_forum_name));\r\n     //REMOVE THIS\r\n     // $element_title = $category_prefix.esc_html(stripslashes($this->asgarosforum->current_forum_name));\r\n     $this->add_breadcrumb($element_link, $element_title, 2);\r\n}\r\n```\r\nWhat would be the best way to include this option in the forum software? Can we add an option to remove this? "}}
{"actor":{"display_login":"r3dunlop"}}