{"action":"created","issue":{"url":"https://api.github.com/repos/ThemeFuse/Unyson/issues/567","labels_url":"https://api.github.com/repos/ThemeFuse/Unyson/issues/567/labels{/name}","comments_url":"https://api.github.com/repos/ThemeFuse/Unyson/issues/567/comments","events_url":"https://api.github.com/repos/ThemeFuse/Unyson/issues/567/events","html_url":"https://github.com/ThemeFuse/Unyson/issues/567","id":77330546,"number":567,"title":"[wp question]Post types that have  archives  listed in admin differ from frontend.","user":{"login":"danyj","id":2340172,"avatar_url":"https://avatars.githubusercontent.com/u/2340172?v=3","gravatar_id":"","url":"https://api.github.com/users/danyj","html_url":"https://github.com/danyj","followers_url":"https://api.github.com/users/danyj/followers","following_url":"https://api.github.com/users/danyj/following{/other_user}","gists_url":"https://api.github.com/users/danyj/gists{/gist_id}","starred_url":"https://api.github.com/users/danyj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danyj/subscriptions","organizations_url":"https://api.github.com/users/danyj/orgs","repos_url":"https://api.github.com/users/danyj/repos","events_url":"https://api.github.com/users/danyj/events{/privacy}","received_events_url":"https://api.github.com/users/danyj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-05-17T15:20:23Z","updated_at":"2015-05-18T13:04:56Z","closed_at":null,"body":"Sorry to ask this here but you should know more than anyone out there \r\n\r\nI am finishing my sidebars option and this one is bugging me \r\n\r\nthis snip should show all post types that have archives \r\n\r\n\t$post_types_archives = get_post_types(\r\n\t\tarray(\r\n\t\t\t'public' => true,\r\n\t\t\t'has_archive' => true,\r\n\t\t\t//'_builtin' => FALSE \r\n\t\t),\r\n\t\t'objects'\r\n\t);\r\n\t\r\n\tforeach ($post_types_archives as $type => $archive ){\r\n\t\tfw_print($archive->label);\r\n\t}\r\n\r\n\r\n\r\nin admin the loop show this \r\nhttp://prntscr.com/768pf8\r\n\r\nin frontend it also shows Post as a type that can have archives\r\nhttp://prntscr.com/768po9\r\n\r\nwhat am I missing ?\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ThemeFuse/Unyson/issues/comments/103052896","html_url":"https://github.com/ThemeFuse/Unyson/issues/567#issuecomment-103052896","issue_url":"https://api.github.com/repos/ThemeFuse/Unyson/issues/567","id":103052896,"user":{"login":"danyj","id":2340172,"avatar_url":"https://avatars.githubusercontent.com/u/2340172?v=3","gravatar_id":"","url":"https://api.github.com/users/danyj","html_url":"https://github.com/danyj","followers_url":"https://api.github.com/users/danyj/followers","following_url":"https://api.github.com/users/danyj/following{/other_user}","gists_url":"https://api.github.com/users/danyj/gists{/gist_id}","starred_url":"https://api.github.com/users/danyj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danyj/subscriptions","organizations_url":"https://api.github.com/users/danyj/orgs","repos_url":"https://api.github.com/users/danyj/repos","events_url":"https://api.github.com/users/danyj/events{/privacy}","received_events_url":"https://api.github.com/users/danyj/received_events","type":"User","site_admin":false},"created_at":"2015-05-18T13:04:56Z","updated_at":"2015-05-18T13:04:56Z","body":"the idea is to get ALL posts types that have archive\r\n\r\nthus \r\n    \r\n    'has_archive' => true\r\n\r\n"}}