{"action":"created","issue":{"url":"https://api.github.com/repos/jarednova/timber/issues/778","repository_url":"https://api.github.com/repos/jarednova/timber","labels_url":"https://api.github.com/repos/jarednova/timber/issues/778/labels{/name}","comments_url":"https://api.github.com/repos/jarednova/timber/issues/778/comments","events_url":"https://api.github.com/repos/jarednova/timber/issues/778/events","html_url":"https://github.com/jarednova/timber/issues/778","id":121203157,"number":778,"title":"Is it possible to get the TimberPost from the TimberMenuItem ?","user":{"login":"jonben","id":2309296,"avatar_url":"https://avatars.githubusercontent.com/u/2309296?v=3","gravatar_id":"","url":"https://api.github.com/users/jonben","html_url":"https://github.com/jonben","followers_url":"https://api.github.com/users/jonben/followers","following_url":"https://api.github.com/users/jonben/following{/other_user}","gists_url":"https://api.github.com/users/jonben/gists{/gist_id}","starred_url":"https://api.github.com/users/jonben/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonben/subscriptions","organizations_url":"https://api.github.com/users/jonben/orgs","repos_url":"https://api.github.com/users/jonben/repos","events_url":"https://api.github.com/users/jonben/events{/privacy}","received_events_url":"https://api.github.com/users/jonben/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-09T10:13:24Z","updated_at":"2016-02-24T08:47:22Z","closed_at":"2016-02-24T08:47:22Z","body":"Most of the time, menus in Wordpress are created from pages.\r\n\r\nRight now, Timber only gives the title, class, link and page ID of a TimberMenuItem.\r\n\r\nThe page ID is not really helpful in twig templates, it would be nice to be able to access directly the page from the TimberMenuItem.\r\n\r\nThe use case I need right now is to retrieve the thumbnail image (or any custom field) from the page associated to the menu element. I have submenus with images."},"comment":{"url":"https://api.github.com/repos/jarednova/timber/issues/comments/188142246","html_url":"https://github.com/jarednova/timber/issues/778#issuecomment-188142246","issue_url":"https://api.github.com/repos/jarednova/timber/issues/778","id":188142246,"user":{"login":"connorjburton","id":10538031,"avatar_url":"https://avatars.githubusercontent.com/u/10538031?v=3","gravatar_id":"","url":"https://api.github.com/users/connorjburton","html_url":"https://github.com/connorjburton","followers_url":"https://api.github.com/users/connorjburton/followers","following_url":"https://api.github.com/users/connorjburton/following{/other_user}","gists_url":"https://api.github.com/users/connorjburton/gists{/gist_id}","starred_url":"https://api.github.com/users/connorjburton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/connorjburton/subscriptions","organizations_url":"https://api.github.com/users/connorjburton/orgs","repos_url":"https://api.github.com/users/connorjburton/repos","events_url":"https://api.github.com/users/connorjburton/events{/privacy}","received_events_url":"https://api.github.com/users/connorjburton/received_events","type":"User","site_admin":false},"created_at":"2016-02-24T08:47:22Z","updated_at":"2016-02-24T08:47:22Z","body":"As this is answered and there hasn't been an activity i'm going to close this one. Feel free to comment if this is still unanswered."}}