{"id":779,"date":"2025-03-24T14:27:39","date_gmt":"2025-03-24T14:27:39","guid":{"rendered":"https:\/\/wpgeodirectory.com\/documentation\/article\/gd-archive-item-section\/"},"modified":"2025-04-03T15:24:00","modified_gmt":"2025-04-03T14:24:00","slug":"gd-archive-item-section","status":"publish","type":"gd_place","link":"https:\/\/wpgeodirectory.com\/documentation\/article\/core-widgets\/gd-archive-item-section\/","title":{"rendered":"GD > Archive Item Section"},"content":{"rendered":"\n<div class=\"wp-block-blockstrap-blockstrap-widget-alert d-flex align-items-center fade show alert alert-success mb-3\" role=\"alert\"><span class=\"fas fa-check-circle me-2\"><\/span><span class=\"flex-grow-1\">All Widgets come as Widgets, Shortcodes or Blocks. Learn more about our <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/core-widgets\/what-makes-geodirectory-widgets-special\/\">Super Duper Widgets<\/a>.<\/span><\/div>\n\n\n\n<div class=\"wp-block-blockstrap-blockstrap-widget-alert d-flex align-items-center fade show alert alert-danger mb-3\" role=\"alert\"><span class=\"fas fa-exclamation-triangle me-2\"><\/span><span class=\"flex-grow-1\">This is a <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/core-widgets\/what-is-a-template-widget\/\">template widget<\/a> and should only ever be used on the GD Archive Item template page.<\/span><\/div>\n\n\n\n<p>The GD Archive Item page template is what is used to display individual posts on archive page loops such as categories or search.&nbsp; <br><strong>Archive pages have view options<\/strong> that change the individual post views from a <strong>List<\/strong> to multiple different <strong>grid views<\/strong>.<\/p>\n\n\n\n<p>Find your GD Archive Item template at<\/p>\n\n\n\n<p><strong><em>WP Admin &#8211; GeoDirectory &#8211; Settings &#8211; General &#8211; Pages &#8211; GD Archive Item &#8211; Edit<\/em><\/strong><\/p>\n\n\n\n<p>From the list view example below, you get the best idea of what this widget does. The listing image and content are separated left and right, <strong>this widget is used to open and close HTML wrappers that separate the left and right content parts.<\/strong><\/p>\n\n\n\n<p><strong>Grid view Example<\/strong>:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-uIID3kfjDo-1.png\" alt=\"\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>List view example<\/strong>:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-v4ieYV4wfL.png\" alt=\"\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Widget Options<\/h2>\n\n\n\n<div class=\"wp-block-blockstrap-blockstrap-widget-alert d-flex align-items-center fade show alert alert-info mb-3\" role=\"alert\"><span class=\"fas fa-info-circle me-2\"><\/span><span class=\"flex-grow-1\">All settings for this widget are advanced settings, reveal them by clicking the button next to save.<\/span><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Type<\/strong> &#8211; This defines if it is an <strong>opening<\/strong> or closing section type.<\/li>\n\n\n\n<li><strong>Position<\/strong> &#8211;\u00a0This defines if it is a <strong>left<\/strong> or <strong>right<\/strong> section.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Example Usage<\/h2>\n\n\n\n<p>In the GD Archive Item page template, below are examples of usage.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Shortcode usage example<\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-sHqaI0I0vx.png\" alt=\"\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Block usage example<\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-SaqFEJRNiR.png\" alt=\"\"\/><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The GD Archive Item page template is what is used to display individual posts on archive page loops such as categories or search.&nbsp; Archive pages have view options that change the individual post views from a List to multiple different grid views. Find your GD Archive Item template at WP Admin &#8211; GeoDirectory &#8211; Settings [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[],"article\/categories":[213,422],"class_list":["post-779","gd_place","type-gd_place","status-publish","hentry","gd_placecategory-extensions-features","gd_placecategory-core-widgets"],"_links":{"self":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/779","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/types\/gd_place"}],"author":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/comments?post=779"}],"version-history":[{"count":0,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/779\/revisions"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/media?parent=779"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/tags?post=779"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/categories?post=779"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}