{"id":50,"date":"2023-08-10T20:57:47","date_gmt":"2023-08-10T20:57:47","guid":{"rendered":"https:\/\/crosswindsframework.com\/docs\/?post_type=article&#038;p=50"},"modified":"2024-01-15T13:32:17","modified_gmt":"2024-01-15T19:32:17","slug":"crosswinds-blocks-related-posts-block","status":"publish","type":"article","link":"https:\/\/crosswindsframework.com\/docs\/article\/crosswinds-blocks-blocks\/crosswinds-blocks-related-posts-block\/","title":{"rendered":"Crosswinds Blocks \u2014 Related Posts Block"},"content":{"rendered":"\n<p>The Related Posts Block allows you to display a number of related posts so that a reader can continue to read more of your block posts. It\u2019s a great way to increase the amount of time someone spends on your website.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-attributes\">Attributes<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Number of columns &#8211; The number of columns to show in the related posts section.<\/li>\n\n\n\n<li>Number of posts &#8211; The number of posts to show in the section.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-to-use-this-block\">How to use this block<\/h2>\n\n\n\n<p>It\u2019s highly recommended that you use this block inside the single post template. You can add in the block, adjust the number of columns and number of posts to show and then customize how the posts look just like you would with the query loop block.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-using-the-block-for-different-post-types\">Using the block for different post types<\/h2>\n\n\n\n<p>The related posts block can be used for any post type you want. To do that, first go to the Crosswinds Blocks\/Framework settings page and look for the \u201cRelated Posts\u201d settings. Here you can set the taxonomy that\u2019s used to search for related posts for every post type on your site.<\/p>\n\n\n\n<p>Then go to the site editor and add the related posts block to each of the single templates for each post type. Now the related posts should show for all of your post types.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Related Posts Block allows you to display a number of related posts so that a reader can continue to read more of your block posts. It\u2019s a great way to increase the amount of time someone spends on your website. Attributes How to use this block It\u2019s highly recommended that you use this block&#8230;<\/p>\n","protected":false},"featured_media":0,"parent":39,"menu_order":0,"template":"","product":[3],"class_list":["post-50","article","type-article","status-publish","hentry","product-crosswinds-blocks"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.6 (Yoast SEO v26.3) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Crosswinds Blocks \u2014 Related Posts Block - Crosswinds Framework Documentation<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/crosswindsframework.com\/docs\/article\/crosswinds-blocks-blocks\/crosswinds-blocks-related-posts-block\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Crosswinds Blocks \u2014 Related Posts Block\" \/>\n<meta property=\"og:description\" content=\"The Related Posts Block allows you to display a number of related posts so that a reader can continue to read more of your block posts. It\u2019s a great way to increase the amount of time someone spends on your website. Attributes How to use this block It\u2019s highly recommended that you use this block...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crosswindsframework.com\/docs\/article\/crosswinds-blocks-blocks\/crosswinds-blocks-related-posts-block\/\" \/>\n<meta property=\"og:site_name\" content=\"Crosswinds Framework Documentation\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-15T19:32:17+00:00\" \/>\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=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/crosswindsframework.com\/docs\/article\/crosswinds-blocks-blocks\/crosswinds-blocks-related-posts-block\/\",\"url\":\"https:\/\/crosswindsframework.com\/docs\/article\/crosswinds-blocks-blocks\/crosswinds-blocks-related-posts-block\/\",\"name\":\"Crosswinds Blocks \u2014 Related Posts Block - Crosswinds Framework Documentation\",\"isPartOf\":{\"@id\":\"https:\/\/crosswindsframework.com\/docs\/#website\"},\"datePublished\":\"2023-08-10T20:57:47+00:00\",\"dateModified\":\"2024-01-15T19:32:17+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/crosswindsframework.com\/docs\/article\/crosswinds-blocks-blocks\/crosswinds-blocks-related-posts-block\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crosswindsframework.com\/docs\/article\/crosswinds-blocks-blocks\/crosswinds-blocks-related-posts-block\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crosswindsframework.com\/docs\/article\/crosswinds-blocks-blocks\/crosswinds-blocks-related-posts-block\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/crosswindsframework.com\/docs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Crosswinds Blocks Blocks\",\"item\":\"https:\/\/crosswindsframework.com\/docs\/article\/crosswinds-blocks-blocks\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Crosswinds Blocks \u2014 Related Posts Block\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/crosswindsframework.com\/docs\/#website\",\"url\":\"https:\/\/crosswindsframework.com\/docs\/\",\"name\":\"Crosswinds Framework Documentation\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/crosswindsframework.com\/docs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Crosswinds Blocks \u2014 Related Posts Block - Crosswinds Framework Documentation","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:\/\/crosswindsframework.com\/docs\/article\/crosswinds-blocks-blocks\/crosswinds-blocks-related-posts-block\/","og_locale":"en_US","og_type":"article","og_title":"Crosswinds Blocks \u2014 Related Posts Block","og_description":"The Related Posts Block allows you to display a number of related posts so that a reader can continue to read more of your block posts. It\u2019s a great way to increase the amount of time someone spends on your website. Attributes How to use this block It\u2019s highly recommended that you use this block...","og_url":"https:\/\/crosswindsframework.com\/docs\/article\/crosswinds-blocks-blocks\/crosswinds-blocks-related-posts-block\/","og_site_name":"Crosswinds Framework Documentation","article_modified_time":"2024-01-15T19:32:17+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/crosswindsframework.com\/docs\/article\/crosswinds-blocks-blocks\/crosswinds-blocks-related-posts-block\/","url":"https:\/\/crosswindsframework.com\/docs\/article\/crosswinds-blocks-blocks\/crosswinds-blocks-related-posts-block\/","name":"Crosswinds Blocks \u2014 Related Posts Block - Crosswinds Framework Documentation","isPartOf":{"@id":"https:\/\/crosswindsframework.com\/docs\/#website"},"datePublished":"2023-08-10T20:57:47+00:00","dateModified":"2024-01-15T19:32:17+00:00","breadcrumb":{"@id":"https:\/\/crosswindsframework.com\/docs\/article\/crosswinds-blocks-blocks\/crosswinds-blocks-related-posts-block\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crosswindsframework.com\/docs\/article\/crosswinds-blocks-blocks\/crosswinds-blocks-related-posts-block\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crosswindsframework.com\/docs\/article\/crosswinds-blocks-blocks\/crosswinds-blocks-related-posts-block\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/crosswindsframework.com\/docs\/"},{"@type":"ListItem","position":2,"name":"Crosswinds Blocks Blocks","item":"https:\/\/crosswindsframework.com\/docs\/article\/crosswinds-blocks-blocks\/"},{"@type":"ListItem","position":3,"name":"Crosswinds Blocks \u2014 Related Posts Block"}]},{"@type":"WebSite","@id":"https:\/\/crosswindsframework.com\/docs\/#website","url":"https:\/\/crosswindsframework.com\/docs\/","name":"Crosswinds Framework Documentation","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/crosswindsframework.com\/docs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/crosswindsframework.com\/docs\/wp-json\/wp\/v2\/article\/50","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/crosswindsframework.com\/docs\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/crosswindsframework.com\/docs\/wp-json\/wp\/v2\/types\/article"}],"up":[{"embeddable":true,"href":"https:\/\/crosswindsframework.com\/docs\/wp-json\/wp\/v2\/article\/39"}],"wp:attachment":[{"href":"https:\/\/crosswindsframework.com\/docs\/wp-json\/wp\/v2\/media?parent=50"}],"wp:term":[{"taxonomy":"product","embeddable":true,"href":"https:\/\/crosswindsframework.com\/docs\/wp-json\/wp\/v2\/product?post=50"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}