{"action":"created","issue":{"url":"https://api.github.com/repos/gantry/gantry5/issues/1356","repository_url":"https://api.github.com/repos/gantry/gantry5","labels_url":"https://api.github.com/repos/gantry/gantry5/issues/1356/labels{/name}","comments_url":"https://api.github.com/repos/gantry/gantry5/issues/1356/comments","events_url":"https://api.github.com/repos/gantry/gantry5/issues/1356/events","html_url":"https://github.com/gantry/gantry5/issues/1356","id":159841021,"number":1356,"title":"error gantry5 docs! custom function in wordpress theme hydrogen","user":{"login":"astenio","id":7676600,"avatar_url":"https://avatars.githubusercontent.com/u/7676600?v=3","gravatar_id":"","url":"https://api.github.com/users/astenio","html_url":"https://github.com/astenio","followers_url":"https://api.github.com/users/astenio/followers","following_url":"https://api.github.com/users/astenio/following{/other_user}","gists_url":"https://api.github.com/users/astenio/gists{/gist_id}","starred_url":"https://api.github.com/users/astenio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astenio/subscriptions","organizations_url":"https://api.github.com/users/astenio/orgs","repos_url":"https://api.github.com/users/astenio/repos","events_url":"https://api.github.com/users/astenio/events{/privacy}","received_events_url":"https://api.github.com/users/astenio/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gantry/gantry5/labels/question","name":"question","color":"cc317c"},{"url":"https://api.github.com/repos/gantry/gantry5/labels/wordpress","name":"wordpress","color":"0052cc"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/gantry/gantry5/milestones/22","html_url":"https://github.com/gantry/gantry5/milestones/5.3.0","labels_url":"https://api.github.com/repos/gantry/gantry5/milestones/22/labels","id":1384120,"number":22,"title":"5.3.0","description":"Inheritance","creator":{"login":"mahagr","id":854915,"avatar_url":"https://avatars.githubusercontent.com/u/854915?v=3","gravatar_id":"","url":"https://api.github.com/users/mahagr","html_url":"https://github.com/mahagr","followers_url":"https://api.github.com/users/mahagr/followers","following_url":"https://api.github.com/users/mahagr/following{/other_user}","gists_url":"https://api.github.com/users/mahagr/gists{/gist_id}","starred_url":"https://api.github.com/users/mahagr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mahagr/subscriptions","organizations_url":"https://api.github.com/users/mahagr/orgs","repos_url":"https://api.github.com/users/mahagr/repos","events_url":"https://api.github.com/users/mahagr/events{/privacy}","received_events_url":"https://api.github.com/users/mahagr/received_events","type":"User","site_admin":false},"open_issues":43,"closed_issues":64,"state":"open","created_at":"2015-10-29T19:26:19Z","updated_at":"2016-06-17T17:42:55Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-06-12T18:35:38Z","updated_at":"2016-06-17T17:42:55Z","closed_at":"2016-06-17T17:42:55Z","body":"Hello friends!\r\n\r\nI'm trying to add a custom function \"breadcrumbs\" I am following the granty the docs 5, already tried several different files and functions, unfortunately all return the same error, then I ask help from you to show me where I'm going wrong, to power correct this my fault and learn a little more.\r\n\r\nI am using this example from the docs:\r\n![8abe1bcf84ca44c59da8ff9b37af4bf1 1](https://cloud.githubusercontent.com/assets/7676600/15993103/f315fa7c-30b2-11e6-8886-ffc1a102fc38.png)\r\n\r\nBy substituting my / function:\r\n![8e572f7d713548a199366553553aaac5 1](https://cloud.githubusercontent.com/assets/7676600/15993110/08e05a28-30b3-11e6-81a8-d1f3ef613626.png)\r\n\r\nAnd always is giving error\r\n![e616b85faff04c23837b8549f4e5a977 1](https://cloud.githubusercontent.com/assets/7676600/15993122/4275d416-30b3-11e6-9a10-78eeb90e455e.png)\r\n\r\nI tested put my function in wordpress functions file, and it worked perfectly fine, but do not want to change the wordpress functions file, I just want to add my role to the theme.\r\n"},"comment":{"url":"https://api.github.com/repos/gantry/gantry5/issues/comments/226834380","html_url":"https://github.com/gantry/gantry5/issues/1356#issuecomment-226834380","issue_url":"https://api.github.com/repos/gantry/gantry5/issues/1356","id":226834380,"user":{"login":"w00fz","id":11734,"avatar_url":"https://avatars.githubusercontent.com/u/11734?v=3","gravatar_id":"","url":"https://api.github.com/users/w00fz","html_url":"https://github.com/w00fz","followers_url":"https://api.github.com/users/w00fz/followers","following_url":"https://api.github.com/users/w00fz/following{/other_user}","gists_url":"https://api.github.com/users/w00fz/gists{/gist_id}","starred_url":"https://api.github.com/users/w00fz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w00fz/subscriptions","organizations_url":"https://api.github.com/users/w00fz/orgs","repos_url":"https://api.github.com/users/w00fz/repos","events_url":"https://api.github.com/users/w00fz/events{/privacy}","received_events_url":"https://api.github.com/users/w00fz/received_events","type":"User","site_admin":false},"created_at":"2016-06-17T17:42:55Z","updated_at":"2016-06-17T17:42:55Z","body":"Thanks,\r\nclosing for inactivity and potentially already fixed issue."}}
{"actor":{"display_login":"w00fz"}}