{"id":2507788,"date":"2012-01-15T06:51:24","date_gmt":"2012-01-15T06:51:24","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/archive-page-categorised-into-year\/"},"modified":"2016-08-20T04:21:53","modified_gmt":"2016-08-20T04:21:53","slug":"archive-page-categorised-into-year","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/archive-page-categorised-into-year\/","title":{"rendered":"ARCHIVE PAGE CATEGORISED INTO YEAR"},"content":{"rendered":"<p>Hello,<\/p>\n<p>I need some assistance to set up my archive.php page for what I believe is a relatively simple matter, although I have been unable to work it out.<\/p>\n<p>My current navigation has a list item named &#8216;Archives&#8217;, which has a menu list drop down on hover. The drop down menu contains 2008, 2009, 2010, 2011, 2012 (displaying the years that the posts were made using &lt;?php wp_get_archives(&#8216;type=yearly&#8217;); ?&gt;). <\/p>\n<p>What I am trying to accomplish is that when a year is clicked (eg 2011) my archive page will show all of the posts made in that year as thumbnails. <\/p>\n<p>I am unsure of what needs to be added to archive.php in order for it to show all the posts for each year.<\/p>\n<p>I hope that makes sense. Please let me know if I need to be clearer.<br \/>\nThanks in advance and I look forward to your help.<\/p>\n","protected":false},"template":"","class_list":["post-2507788","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/2507788","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/2507788\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=2507788"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}