{"id":707,"date":"2008-04-16T17:14:42","date_gmt":"2008-04-17T00:14:42","guid":{"rendered":"http:\/\/css-tricks.com\/?page_id=707"},"modified":"2015-02-25T15:28:38","modified_gmt":"2015-02-25T22:28:38","slug":"archives","status":"publish","type":"page","link":"https:\/\/css-tricks.com\/archives\/","title":{"rendered":"Archives"},"content":{"rendered":"","protected":false},"excerpt":{"rendered":"","protected":false},"author":3,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"new-archive.php","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"sig_custom_text":"","sig_image_type":"featured-image","sig_custom_image":0,"sig_is_disabled":false,"inline_featured_image":false,"c2c_always_allow_admin_comments":false,"footnotes":""},"tags":[],"acf":[],"jetpack-related-posts":[{"id":18690,"url":"https:\/\/css-tricks.com\/lodge\/v10\/130-styling-the-article-archives-page\/","url_meta":{"origin":707,"position":0},"title":"#130: Styling the Article Archives Page","date":"October 2, 2012","format":false,"excerpt":"The article archives page on CSS-Tricks is rather important. Rather than having paginated blog posts like most blogs have, I simply link to the archives. I figure it'll save people the trouble of click-and-scrollbrowse, click-and-scrollbrowse, click-and-scrollbrowse... Instead, they go right to a page where they can scrollbrowse a large number\u2026","rel":"","context":"Similar post","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":20411,"url":"https:\/\/css-tricks.com\/lodge\/artists-website\/022-blog-archives\/","url_meta":{"origin":707,"position":1},"title":"#022 – Blog Archives","date":"March 8, 2013","format":false,"excerpt":"There is only one way to get to the blog area of the site from the homepage, and that's by clicking the \"Lastest Writing\". But that takes you to the most recent blog post. We'll also need a way to get to older blog posts. Jeff doesn't write super duper\u2026","rel":"","context":"With 7 comments","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":18738,"url":"https:\/\/css-tricks.com\/lodge\/v10\/154-styling-the-lodge-archives-and-single-lodge-video-page\/","url_meta":{"origin":707,"position":2},"title":"#154: Styling the Lodge Archives and Single Lodge Video Page","date":"October 2, 2012","format":false,"excerpt":"The homepage for The Lodge when you are logged in (i.e. \/lodge\/) will be kind of a \"portal\" page. This series, which we'll call \"The Big v10 Redsign Project\", will eventually be just one of the projects shown on this page. Unfortunately at the time, that means there is this\u2026","rel":"","context":"Similar post","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":14603,"url":"https:\/\/css-tricks.com\/snippets\/wordpress\/make-archives-php-include-custom-post-types\/","url_meta":{"origin":707,"position":3},"title":"Make Archives.php Include Custom Post Types","date":"October 15, 2011","format":false,"excerpt":"Archives.php only shows content of type 'post', but you can alter it to include custom post types. Add this filter to your functions.php file: function namespace_add_custom_types( $query ) { if( is_category() || is_tag() && empty( $query->query_vars['suppress_filters'] ) ) { $query->set( 'post_type', array( 'post', 'nav_menu_item', 'your-custom-post-type-here' )); return $query; } }\u2026","rel":"","context":"With 104 comments","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":18653,"url":"https:\/\/css-tricks.com\/lodge\/v10\/123-building-the-videos-archive-part-2-navigation\/","url_meta":{"origin":707,"position":4},"title":"#123: Building the Videos Archive, Part 2 (Navigation)","date":"October 1, 2012","format":false,"excerpt":"We just finished an exciting part of this redesign where we got to throw away a bunch of gross markup in the video archives page and replace it with new, smart, clean, auto generated markup. But we have more work to do on these archives pages. Because the archives are\u2026","rel":"","context":"Similar post","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":20365,"url":"https:\/\/css-tricks.com\/lodge\/artists-website\/019-the-blog-part-1\/","url_meta":{"origin":707,"position":5},"title":"#019 – The Blog, Part 1","date":"March 4, 2013","format":false,"excerpt":"We start to work on the blog area of the site. We want to have the blog area of the site at \/blog\/ - so we end up making a page template for that called page-blog.php and using the Settings > Reading setting to make that page the blog homepage.\u2026","rel":"","context":"With 5 comments","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/pages\/707"}],"collection":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/comments?post=707"}],"version-history":[{"count":1,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/pages\/707\/revisions"}],"predecessor-version":[{"id":196797,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/pages\/707\/revisions\/196797"}],"wp:attachment":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/media?parent=707"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/tags?post=707"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}