{"id":4599,"date":"2022-04-22T01:20:34","date_gmt":"2022-04-21T22:20:34","guid":{"rendered":"https:\/\/creativethemes.com\/blocksy\/?post_type=documentation&#038;p=4599"},"modified":"2025-06-20T09:21:35","modified_gmt":"2025-06-20T06:21:35","slug":"content-blocks-custom-archive-template","status":"publish","type":"documentation","link":"https:\/\/creativethemes.com\/blocksy\/docs\/modules\/content-blocks-custom-archive-template\/","title":{"rendered":"Content Blocks &#8211; Custom Archive Templates"},"content":{"rendered":"\n<figure class=\"wp-block-video\"><video height=\"2064\" style=\"aspect-ratio: 3456 \/ 2064;\" width=\"3456\" autoplay loop muted src=\"https:\/\/creativethemes.com\/blocksy\/wp-content\/uploads\/2022\/04\/Screen-Recording-2025-06-20-at-09.19.20.mov\" playsinline><\/video><figcaption class=\"wp-element-caption\">Creating a Content Block Archive Template.<\/figcaption><\/figure>\n\n\n\n<p>Want more control over how your archive pages look? Blocksy Pro makes it easy to create fully custom archive layouts &#8211; whether you\u2019re working with standard post types like blog posts or custom ones like portfolios.<\/p>\n\n\n\n<p>With the power of the&nbsp;<strong>Content Blocks<\/strong>&nbsp;engine and dynamic Gutenberg blocks, you can design archive templates that perfectly fit your content structure and design vision.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Getting Started<\/h2>\n\n\n\n<p>Setting up a custom archive template is quick and intuitive. Just follow these steps:<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Open your\u00a0<strong>WordPress dashboard<\/strong>.<\/li>\n\n\n\n<li>Head to\u00a0<strong>Blocksy \u2192 Content Blocks<\/strong>.<\/li>\n\n\n\n<li>Click\u00a0<strong>Add New<\/strong>.<\/li>\n\n\n\n<li>Select\u00a0<strong>Custom Template<\/strong>.<\/li>\n\n\n\n<li>Choose\u00a0<strong>Archive Template<\/strong>.<\/li>\n<\/ol>\n\n\n\n<p>You\u2019ll then be dropped into a clean Gutenberg canvas, ready to begin designing your custom archive layout.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Granular Controls<\/h2>\n\n\n\n<p>Each archive template comes with flexible options, letting you control\u00a0<strong>how much of the archive gets replaced<\/strong>\u00a0&#8211; from just the post cards to the entire page layout.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Replacement Type<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Card Only<\/strong>\u00a0\u2013 This option replaces only the content cards inside the archive. The rest of the page layout &#8211; including the sidebar, heading and container width &#8211; will still be handled by your settings in the Customiser. Ideal when you just want to fine-tune how each post looks.<\/li>\n\n\n\n<li><strong>Full Page<\/strong>\u00a0\u2013 This lets you build the\u00a0<strong>entire archive page<\/strong>\u00a0from scratch using blocks. You\u2019ll have full control over layout, spacing, and what content shows up where.<\/li>\n<\/ul>\n\n\n\n<p>Both options work seamlessly with the\u00a0<strong><a href=\"https:\/\/creativethemes.com\/blocksy\/docs\/modules\/conditions-module\/\" target=\"_blank\" rel=\"noreferrer noopener\">Conditional Module<\/a><\/strong>, so you can apply your custom template to specific categories, post types, or any other condition available in Blocksy.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Controls for &#8220;Card Only&#8221;<\/h3>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/creativethemes.com\/blocksy\/wp-content\/uploads\/2022\/04\/Screenshot-2023-09-28-at-17.16.46.png\" alt=\"\" class=\"wp-image-7386\" \/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<h4 class=\"wp-block-heading\">Dynamic Content Preview<\/h4>\n\n\n\n<p>Preview any post inside the editor to see exactly how your card layout will appear on the front end. No guesswork required.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Editor\/Card Width<\/h4>\n\n\n\n<p>Choose a comfortable width for editing within the block editor. This setting is only for the editor preview and doesn\u2019t affect what users see.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Default Card Layout<\/h4>\n\n\n\n<p>Enable this option to apply the default card design settings from the Customiser. Things like background colour, spacing and box shadows will be inherited automatically.<\/p>\n<\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Controls for &#8220;Full Page&#8221;<\/h3>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/creativethemes.com\/blocksy\/wp-content\/uploads\/2022\/04\/Screenshot-2023-09-28-at-17.41.09.png\" alt=\"\" class=\"wp-image-7387\" \/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<h4 class=\"wp-block-heading\">Page Structure<\/h4>\n\n\n\n<p>Pick from standard or narrow width layouts, or include a sidebar on the left or right. These options mirror what you\u2019re used to in the Customiser.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Content Area Style<\/h4>\n\n\n\n<p>Decide whether your archive content should sit inside a styled box or span the full width of the page.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Content Area Vertical Spacing<\/h4>\n\n\n\n<p>Add spacing between your archive content and the site\u2019s header\/footer for a cleaner, more open layout.<\/p>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\">\n<h2 class=\"wp-block-heading\">Demonstration<\/h2>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69ed2bac6b7fb&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69ed2bac6b7fb\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"3456\" height=\"2064\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/creativethemes.com\/blocksy\/wp-content\/uploads\/2022\/04\/Screenshot-2025-06-20-at-09.20.28.png\" alt=\"\" class=\"wp-image-13445\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><figcaption class=\"wp-element-caption\">Template editor.<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Video Resources<\/h2>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-4-3 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Custom Archive Templates with Blocksy Pro | Advanced Tutorial\" width=\"1290\" height=\"968\" src=\"https:\/\/www.youtube.com\/embed\/4r79CO_52To?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Want more control over how your archive pages look? Blocksy Pro makes it easy to create fully custom archive layouts &#8211; whether you\u2019re working with standard post types like blog posts or custom ones like portfolios. With the power of the&nbsp;Content Blocks&nbsp;engine and dynamic Gutenberg blocks, you can design archive templates that perfectly fit your [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"doc_categories":[120],"class_list":["post-4599","documentation","type-documentation","status-publish","hentry","doc_categories-modules"],"blocksy_meta":{"post_title_panel":"","has_hero_section":"default","410cf28b76b52e4bcb9894891c7de0f6":"","hero_section":"type-1","hero_elements":[{"id":"custom_title","enabled":true,"heading_tag":"h1","title":"Home"},{"id":"custom_description","enabled":true,"description_visibility":{"desktop":true,"tablet":true,"mobile":false}},{"id":"custom_meta","enabled":true,"meta_elements":[{"id":"author","enabled":true,"label":"By","has_author_avatar":"yes","avatar_size":25},{"id":"post_date","enabled":true,"label":"On","date_format_source":"default","date_format":"M j, Y"},{"id":"updated_date","enabled":false,"label":"On","date_format_source":"default","date_format":"M j, Y"},{"id":"categories","enabled":true,"label":"In","style":"simple"},{"id":"comments","enabled":true}],"page_meta_elements":{"joined":true,"articles_count":true,"comments":true}},{"id":"breadcrumbs","enabled":false}],"b68d0b60226f90bb335f23ebda62d4f5":"","hero_alignment1":"CT_CSS_SKIP_RULE","hero_margin":40,"hero_alignment2":"center","hero_vertical_alignment":"center","80460320247b2dce479c83f64035f50c":"","hero_structure":"narrow","b6e37f23dd93d0e086e94dc766d8c735":"","page_title_bg_type":"featured_image","custom_hero_background":{"attachment_id":null},"parallax":{"desktop":false,"tablet":false,"mobile":false},"af06d54dbf0301e97b81511fd68fb5cd":"","hero_height":"250px","pageTitleFont":{"family":"Default","variation":"Default","size":"30px","line-height":"CT_CSS_SKIP_RULE","letter-spacing":"CT_CSS_SKIP_RULE","text-transform":"CT_CSS_SKIP_RULE","text-decoration":"CT_CSS_SKIP_RULE"},"pageTitleFontColor":{"default":{"color":"CT_CSS_SKIP_RULEDEFAULT"}},"pageMetaFont":{"family":"Default","variation":"n6","size":"12px","line-height":"1.3","letter-spacing":"CT_CSS_SKIP_RULE","text-transform":"uppercase","text-decoration":"CT_CSS_SKIP_RULE"},"pageMetaFontColor":{"default":{"color":"CT_CSS_SKIP_RULEDEFAULT"},"hover":{"color":"CT_CSS_SKIP_RULEDEFAULT"}},"page_meta_button_type_font_colors":{"default":{"color":"CT_CSS_SKIP_RULEDEFAULT"},"hover":{"color":"CT_CSS_SKIP_RULEDEFAULT"}},"page_meta_button_type_background_colors":{"default":{"color":"CT_CSS_SKIP_RULEDEFAULT"},"hover":{"color":"CT_CSS_SKIP_RULEDEFAULT"}},"pageExcerptFont":{"family":"Default","variation":"Default","size":"CT_CSS_SKIP_RULE","line-height":"CT_CSS_SKIP_RULE","letter-spacing":"CT_CSS_SKIP_RULE","text-transform":"CT_CSS_SKIP_RULE","text-decoration":"CT_CSS_SKIP_RULE"},"pageExcerptColor":{"default":{"color":"CT_CSS_SKIP_RULEDEFAULT"}},"breadcrumbsFont":{"family":"Default","variation":"Default","size":"CT_CSS_SKIP_RULE","line-height":"CT_CSS_SKIP_RULE","letter-spacing":"CT_CSS_SKIP_RULE","text-transform":"CT_CSS_SKIP_RULE","text-decoration":"CT_CSS_SKIP_RULE"},"breadcrumbsFontColor":{"default":{"color":"CT_CSS_SKIP_RULEDEFAULT"},"initial":{"color":"CT_CSS_SKIP_RULEDEFAULT"},"hover":{"color":"CT_CSS_SKIP_RULEDEFAULT"}},"pageTitleOverlay":{"background_type":"color","background_pattern":"type-1","background_image":{"attachment_id":null,"x":0,"y":0},"gradient":"linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)","background_repeat":"repeat","background_size":"auto","background_attachment":"scroll","patternColor":{"default":{"color":"#e5e7ea"}},"overlayColor":{"default":{"color":"CT_CSS_SKIP_RULE"}},"backgroundColor":{"default":{"color":"CT_CSS_SKIP_RULE"}}},"pageTitleBackground":{"background_type":"color","background_pattern":"type-1","background_image":{"attachment_id":null,"x":0,"y":0},"gradient":"linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)","background_repeat":"repeat","background_size":"auto","background_attachment":"scroll","patternColor":{"default":{"color":"#e5e7ea"}},"overlayColor":{"default":{"color":"CT_CSS_SKIP_RULE"}},"backgroundColor":{"default":{"color":"var(--paletteColor6)"}}},"pageTitlePadding":{"top":"50px","bottom":"50px","left":"auto","right":"auto","linked":true},"2d5a385dbe0edc29c54b8c231d5daede":"","page_structure_type":"default","a0eac6bd001c071fa0c852f75bc7fd6f":"","content_style_source":"inherit","content_style":"wide","vertical_spacing_source":"inherit","content_area_spacing":"both","background":{"background_type":"color","background_pattern":"type-1","background_image":{"attachment_id":null,"x":0,"y":0},"gradient":"linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)","background_repeat":"repeat","background_size":"auto","background_attachment":"scroll","patternColor":{"default":{"color":"#e5e7ea"}},"overlayColor":{"default":{"color":"CT_CSS_SKIP_RULE"}},"backgroundColor":{"default":{"color":"CT_CSS_SKIP_RULE"}}},"content_background":{"background_type":"color","background_pattern":"type-1","background_image":{"attachment_id":null,"x":0,"y":0},"gradient":"linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)","background_repeat":"repeat","background_size":"auto","background_attachment":"scroll","patternColor":{"default":{"color":"#e5e7ea"}},"overlayColor":{"default":{"color":"CT_CSS_SKIP_RULE"}},"backgroundColor":{"default":{"color":"var(--paletteColor8)"}}},"content_boxed_shadow":{"inherit":false,"blur":18,"spread":-6,"v_offset":12,"h_offset":0,"inset":false,"enable":true,"color":{"color":"rgba(34, 56, 101, 0.04)"}},"boxed_content_spacing":{"desktop":{"top":"40px","bottom":"40px","left":"40px","right":"40px","linked":true},"tablet":{"top":"35px","bottom":"35px","left":"35px","right":"35px","linked":true},"mobile":{"top":"20px","bottom":"20px","left":"20px","right":"20px","linked":true}},"content_boxed_radius":{"top":"3px","bottom":"3px","left":"3px","right":"3px","linked":true},"7dffe921e4cfbe8f71c441804f33adef":"","disable_featured_image":"no","disable_share_box":"no","disable_author_box":"no","disable_posts_navigation":"no","9df9e5120800f94e0fc6384f81dab8b8":"","disable_related_posts":"no","disable_header":"no","disable_footer":"no","aae8c8bcf120c2fdcfb54d362049aa8b":"","header_footer_scripts_panel":"","header_scripts":"","627702ad46b3475dcecfefa36bb72350":"","header_after_body_scripts":"<style>\nfigure > img, figure > video {\n    border: 1px solid rgba(225,225,225,0.50);\nbox-shadow: 0px 0px 50px -30px rgba(0,0,0,0.25);\n\n}\n<\/style>","a987dfc071aa606f9d565278254fc919":"","footer_scripts":"","docs_item_badge":"PRO","styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":6}},"acf":[],"_links":{"self":[{"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/documentation\/4599","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/documentation"}],"about":[{"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/types\/documentation"}],"author":[{"embeddable":true,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/comments?post=4599"}],"version-history":[{"count":5,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/documentation\/4599\/revisions"}],"predecessor-version":[{"id":13447,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/documentation\/4599\/revisions\/13447"}],"wp:attachment":[{"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/media?parent=4599"}],"wp:term":[{"taxonomy":"doc_categories","embeddable":true,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/doc_categories?post=4599"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}