{"id":6087,"date":"2022-03-29T11:20:01","date_gmt":"2022-03-29T11:20:01","guid":{"rendered":"https:\/\/crocoblock.com\/knowledge-base\/?post_type=article&#038;p=6087"},"modified":"2024-02-07T07:34:58","modified_gmt":"2024-02-07T07:34:58","slug":"how-to-create-an-archive-page-template-to-display-the-custom-post-type-archive","status":"publish","type":"article","link":"https:\/\/crocoblock.com\/knowledge-base\/jetthemecore\/how-to-create-an-archive-page-template-to-display-the-custom-post-type-archive\/","title":{"rendered":"How to Create WordPress Archive Template to Display Custom Post Type Archive"},"content":{"rendered":"\n<p>An archive page allows displaying posts based on selected criteria. E.g., taxonomies, categories, custom post types, etc.<\/p>\n\n\n\n<p>An archive template is a layout displaying the latest publications, it can be applied to the default posts as well as to the custom posts.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"create-an-archive-page-template-in-elementor\">Create an Archive Page Template in Elementor<\/h2>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>In order to create an archive page template, open the <strong>WordPress Dashboard<\/strong> and proceed to the <strong>Crocoblock &gt; Theme Templates<\/strong> directory.<\/p>\n\n\n\n<p>Switch to the <strong>Archive<\/strong> tab and click the <strong>\u2018Add New\u2019<\/strong> button.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/theme-parts-archive.png\" alt=\"add new archive page\">\n\n\n\n<p>You will be asked to choose a type of template, which should be \u201cArchive\u201d. Also, set the <strong>Template Content Type<\/strong> to Elementor. Enter its name and tap <strong>\u201cCreate Template\u201d<\/strong>.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/create-archive.png\" alt=\"create archive page\">\n\n\n\n<p>Note! You can use the Listing<strong> Grid<\/strong> widget (provided within <a href=\"https:\/\/crocoblock.com\/plugins\/jetengine\/\" target=\"_blank\" rel=\"noreferrer noopener\">JetEngine<\/a>), <strong>Posts<\/strong> widget (from <a href=\"https:\/\/crocoblock.com\/plugins\/jetelements\/\" target=\"_blank\" rel=\"noreferrer noopener\">JetElements<\/a>) or <strong>Smart Posts List<\/strong> widget (available in <a href=\"https:\/\/crocoblock.com\/plugins\/jetblog\/\" target=\"_blank\" rel=\"noreferrer noopener\">JetBlog<\/a>) to create an archive for the custom post type.<\/p>\n\n\n\n<p>Regardless of the widget you\u2019ve chosen, you will need to set to the needed custom post type in the <strong>Post type<\/strong> dropdown (depending on the widget, this option may be located in different parts of the <strong>Content<\/strong> settings).<\/p>\n\n\n\n<p>Also, make sure you\u2019ve turned on the <strong>\u2018Is archive template\u2019<\/strong> option in the <strong>Content<\/strong> settings (however, the location of this option varies depending on the widget you are using).<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/posts-widget.png\" alt=\"posts widget\">\n\n\n\n<p>You may also add the navigation to your archive template in case you are using either <strong>Posts<\/strong> widget or <strong>Smart Posts List<\/strong> widget.<\/p>\n\n\n\n<p>To do so, find <strong>Posts Navigation<\/strong> widget and drop it to the page\u2019s canvas.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/posts-navigation.png\" alt=\"posts navigation\">\n\n\n\n<p>Feel free to check how the navigation can be added in more details <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-change-the-number-of-posts-to-show-per-one-page\/\" target=\"_blank\" rel=\"noreferrer noopener\">here.<\/a><\/p>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"set-up-the-template-conditions\">Set Up the Template Conditions<\/h2>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>After the customization is complete, you need to set the conditions for the archive. For that, go back to the <strong>Theme Parts<\/strong> page.<\/p>\n\n\n\n<p>There will be a message <strong><em>\u2018Conditions not selected\u2019<\/em><\/strong> next to the created archive template. To set the conditions up click Edit Conditions.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/archive-set-conditions.png\" alt=\"condition not set\">\n\n\n\n<p>Then in the following pop-up window hit the <strong>Add Condition<\/strong> button to define on which pages the archive template is supposed to appear and save it.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/display-conditions.png\" alt=\"archive conditions\">\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"add-the-archive-to-the-page-template\">Add the Archive to the Page Template<\/h2>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>To add an archive to the page template, go to <strong>WordPress Dashboard &gt; Crocoblock &gt; Theme Builder<\/strong> and click on <em><strong>\u201cCreate new page template\u201d<\/strong><\/em> or choose the existing one.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/create-new-page-template.png\" alt=\"create new page template\">\n\n\n\n<p>There will be a new pop-up window where you can set one or multiple conditions, according to which the given template will be either shown on specific pages or not.<br><br>First of all, make sure that it\u2019s set to <strong>Include<\/strong> and then select <strong>Archive<\/strong> in the following drop-down menu.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/archive-page-template-jetthemecore.png\" alt=\"create archive page template with jetthemecore\">\n\n\n\n<p>Once you hit the <strong><em>\u201cCreate\u201d <\/em><\/strong>button, you will see a new archive page template in the <em>JetThemeCore<\/em> dashboard.<br><br>To add an archive template, click on \u201cAdd body\u201d and then \u201cAdd from library\u201d.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/add-body.png\" alt=\"add template body\">\n\n\n\n<p>Select the needed one in the Template Library pop-up window and hit \u201cUse.\u201d<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/use-archive-template.png\" alt=\"use an archive page template\">\n\n\n\n<p>Now you can see that the chosen archive is assigned to the page\u2019s template.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/assigned-archive.png\" alt=\"assigned archive\">\n\n\n\n<p>Add more sections to the template, e.g. select a <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-create-a-custom-header-with-jetthemecore\/\" target=\"_blank\" rel=\"noreferrer noopener\">header<\/a> and a <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-create-a-footer-with-jetthemecore-for-elementor\/\" target=\"_blank\" rel=\"noreferrer noopener\">footer<\/a>, if you want to delete\/duplicate the template or quickly change the conditions, click the three dots in the right upper corner of the template section.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/edit-conditions-archive-page-template.png\" alt=\"edit archive page template conditions\">\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"build-an-archive-template-in-gutenberg\">Build an Archive Template in Gutenberg<\/h2>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>If you\u2019re a big fan of Gutenberg, the JetThemeCore plugin also gives you an opportunity to build an archive template in the default WordPress Editor.<br><br>For that, head back to the <strong><em>Crocoblock > Theme Templates<\/em><\/strong>. Add a new template, select <strong>Archive<\/strong> as a <strong>Template Type<\/strong> and this time set <strong>Template Content Type<\/strong> to <strong>Block Editor<\/strong>.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/archive-in-guten.png\" alt=\"archive template in block editor\">\n\n\n\n<p>Since Gutenberg is a block editor, some of the Elementor widgets may not be available there. However, you can still add any of the available blocks and customize them according to your needs.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/archive-in-gutenberg-posts.png\" alt=\"gutenberg blog posts\">\n\n\n\n<p>Proceed to the front-end and check your archive page template.<\/p>\n<\/div><\/div>\n\n\n\n<p>Hope this tutorial helped. Feel free to create as many archive templates as you need to make the custom post types showcased the way you want.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here we will learn how to create a WordPress archive page template to display the custom post type archive with JetThemeCore plugin and WordPress block editor or Elementor.<\/p>\n","protected":false},"author":11,"featured_media":0,"template":"","format":"standard","builder-category":[],"article-category":[290,257],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Create Archive Page Template to Display Post Type Archive \u2014 JetThemeCore | Crocoblock<\/title>\n<meta name=\"description\" content=\"Study how to create an archive page template with JetThemeCore plugin for Elementor to display the custom post type archive.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/crocoblock.com\/knowledge-base\/jetthemecore\/how-to-create-an-archive-page-template-to-display-the-custom-post-type-archive\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Create Archive Page Template to Display Post Type Archive \u2014 JetThemeCore | Crocoblock\" \/>\n<meta property=\"og:description\" content=\"Study how to create an archive page template with JetThemeCore plugin for Elementor to display the custom post type archive.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crocoblock.com\/knowledge-base\/jetthemecore\/how-to-create-an-archive-page-template-to-display-the-custom-post-type-archive\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:modified_time\" content=\"2024-02-07T07:34:58+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/theme-parts-archive.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetthemecore\/how-to-create-an-archive-page-template-to-display-the-custom-post-type-archive\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/jetthemecore\/how-to-create-an-archive-page-template-to-display-the-custom-post-type-archive\/\",\"name\":\"How to Create Archive Page Template to Display Post Type Archive \u2014 JetThemeCore | Crocoblock\",\"isPartOf\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\"},\"datePublished\":\"2022-03-29T11:20:01+00:00\",\"dateModified\":\"2024-02-07T07:34:58+00:00\",\"description\":\"Study how to create an archive page template with JetThemeCore plugin for Elementor to display the custom post type archive.\",\"breadcrumb\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetthemecore\/how-to-create-an-archive-page-template-to-display-the-custom-post-type-archive\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crocoblock.com\/knowledge-base\/jetthemecore\/how-to-create-an-archive-page-template-to-display-the-custom-post-type-archive\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetthemecore\/how-to-create-an-archive-page-template-to-display-the-custom-post-type-archive\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Articles\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/articles\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Create WordPress Archive Template to Display Custom Post Type Archive\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/\",\"name\":\"Help Center\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/crocoblock.com\/knowledge-base\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#organization\",\"name\":\"Help Center\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg\",\"contentUrl\":\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg\",\"caption\":\"Help Center\"},\"image\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Create Archive Page Template to Display Post Type Archive \u2014 JetThemeCore | Crocoblock","description":"Study how to create an archive page template with JetThemeCore plugin for Elementor to display the custom post type archive.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/crocoblock.com\/knowledge-base\/jetthemecore\/how-to-create-an-archive-page-template-to-display-the-custom-post-type-archive\/","og_locale":"en_US","og_type":"article","og_title":"How to Create Archive Page Template to Display Post Type Archive \u2014 JetThemeCore | Crocoblock","og_description":"Study how to create an archive page template with JetThemeCore plugin for Elementor to display the custom post type archive.","og_url":"https:\/\/crocoblock.com\/knowledge-base\/jetthemecore\/how-to-create-an-archive-page-template-to-display-the-custom-post-type-archive\/","og_site_name":"Help Center","article_modified_time":"2024-02-07T07:34:58+00:00","og_image":[{"url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/theme-parts-archive.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetthemecore\/how-to-create-an-archive-page-template-to-display-the-custom-post-type-archive\/","url":"https:\/\/crocoblock.com\/knowledge-base\/jetthemecore\/how-to-create-an-archive-page-template-to-display-the-custom-post-type-archive\/","name":"How to Create Archive Page Template to Display Post Type Archive \u2014 JetThemeCore | Crocoblock","isPartOf":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#website"},"datePublished":"2022-03-29T11:20:01+00:00","dateModified":"2024-02-07T07:34:58+00:00","description":"Study how to create an archive page template with JetThemeCore plugin for Elementor to display the custom post type archive.","breadcrumb":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/jetthemecore\/how-to-create-an-archive-page-template-to-display-the-custom-post-type-archive\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crocoblock.com\/knowledge-base\/jetthemecore\/how-to-create-an-archive-page-template-to-display-the-custom-post-type-archive\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetthemecore\/how-to-create-an-archive-page-template-to-display-the-custom-post-type-archive\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/crocoblock.com\/knowledge-base\/"},{"@type":"ListItem","position":2,"name":"Articles","item":"https:\/\/crocoblock.com\/knowledge-base\/articles\/"},{"@type":"ListItem","position":3,"name":"How to Create WordPress Archive Template to Display Custom Post Type Archive"}]},{"@type":"WebSite","@id":"https:\/\/crocoblock.com\/knowledge-base\/#website","url":"https:\/\/crocoblock.com\/knowledge-base\/","name":"Help Center","description":"","publisher":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/crocoblock.com\/knowledge-base\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/crocoblock.com\/knowledge-base\/#organization","name":"Help Center","url":"https:\/\/crocoblock.com\/knowledge-base\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/","url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg","contentUrl":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg","caption":"Help Center"},"image":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article\/6087"}],"collection":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/types\/article"}],"author":[{"embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/users\/11"}],"wp:attachment":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=6087"}],"wp:term":[{"taxonomy":"builder-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/builder-category?post=6087"},{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article-category?post=6087"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}