{"id":1897,"date":"2020-05-22T21:48:52","date_gmt":"2020-05-22T21:48:52","guid":{"rendered":"https:\/\/the7kennisbank.nl\/?p=1897"},"modified":"2020-05-22T22:42:38","modified_gmt":"2020-05-22T22:42:38","slug":"archives","status":"publish","type":"post","link":"https:\/\/the7kennisbank.nl\/en\/user-guide\/archives\/","title":{"rendered":"Archives"},"content":{"rendered":"<p><head><meta http-equiv=\"Content-Type\" content=\"text\/html; charset=utf-8\"><\/head><\/p>\n<p>This option allows to select page (fig. 1) layout for archives, search results, etc.<br \/>For example, you have \u201cMy Sample\u201d page with page title aligned to the right and sidebar on the left. If you select this page in Theme Options -&gt; Archives and 404 -&gt; Archives, it means that all archive pages will also have page title on the right and sidebar on the left.<\/p>\n<div id=\"attachment_3159\" class=\"wp-caption aligncenter c1\"><a href=\"https:\/\/guide.the7.io\/wp-content\/uploads\/2015\/04\/Fig._1._Archive_Settings.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-3159 size-full\" src=\"https:\/\/the7kennisbank.nl\/wp-content\/uploads\/2019\/09\/Fig._1._Archive_Settings-2.png\" alt=\"Fig. 1. Archive Settings.\" width=\"756\" height=\"539\"><\/a><\/p>\n<p class=\"wp-caption-text\">Fig. 1. Archive Settings.<\/p>\n<\/div>\n<p>You can configure archive pages for blog posts, portfolio and photo albums, as well archives by an author and by date. Also, there are tabs for configuring search results page and 404 \u201cNot Found\u201d error page.<\/p>\n<h2>Content Layout<\/h2>\n<p>Archives content and Search results appearance is rendered in accordance with\u00a0<strong>first corresponding shortcode found on the page.<\/strong>\u00a0Otherwise it will default to a masonry layout. So you need to insert a WPBakery \u201cBlog\u201d element to the page and configure it. Categorization is always disabled and pagination defaults to the \u2018standard\u2019 mode. Please note, this approach <strong>works<\/strong> only with WPBakery <strong>shortocde<\/strong>, <strong>not<\/strong> a <strong>page template<\/strong>\u00a0(fig. 2).<\/p>\n<div id=\"attachment_3582\" class=\"wp-caption aligncenter c2\"><a href=\"https:\/\/guide.the7.io\/wp-content\/uploads\/2015\/04\/Fig._2._Archives_pick_up_settings_from_WPBakery_shortcode_not_a_page_template.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3582\" src=\"https:\/\/the7kennisbank.nl\/wp-content\/uploads\/2020\/01\/Fig._2._Archives_pick_up_settings_from_WPBakery_shortcode_not_a_page_template.png\" alt=\"Fig. 2. Archives pick up settings from WPBakery shortcode, not a page template\" width=\"968\" height=\"317\"><\/a><\/p>\n<p class=\"wp-caption-text\">Fig. 2. Archives pick up settings from WPBakery shortcode, not a page template<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>This option allows to select page (fig. 1) layout for archives, search results, etc.For example, you have \u201cMy Sample\u201d page with page title aligned to the right and sidebar on the left. If you select this page in Theme Options -&gt; Archives and 404 -&gt; Archives, it means that all archive pages will also have&hellip;<\/p>\n","protected":false},"author":2,"featured_media":1954,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[10,9],"tags":[],"class_list":["post-1897","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-theme-options","category-user-guide","category-10","category-9","description-off"],"acf":[],"_links":{"self":[{"href":"https:\/\/the7kennisbank.nl\/en\/wp-json\/wp\/v2\/posts\/1897","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/the7kennisbank.nl\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/the7kennisbank.nl\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/the7kennisbank.nl\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/the7kennisbank.nl\/en\/wp-json\/wp\/v2\/comments?post=1897"}],"version-history":[{"count":2,"href":"https:\/\/the7kennisbank.nl\/en\/wp-json\/wp\/v2\/posts\/1897\/revisions"}],"predecessor-version":[{"id":2014,"href":"https:\/\/the7kennisbank.nl\/en\/wp-json\/wp\/v2\/posts\/1897\/revisions\/2014"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/the7kennisbank.nl\/en\/wp-json\/wp\/v2\/media\/1954"}],"wp:attachment":[{"href":"https:\/\/the7kennisbank.nl\/en\/wp-json\/wp\/v2\/media?parent=1897"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/the7kennisbank.nl\/en\/wp-json\/wp\/v2\/categories?post=1897"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/the7kennisbank.nl\/en\/wp-json\/wp\/v2\/tags?post=1897"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}