{"id":91,"date":"2023-01-25T15:39:52","date_gmt":"2023-01-25T22:39:52","guid":{"rendered":"https:\/\/comm.engineering.asu.edu\/pitchfork\/?post_type=pitchfork-docs&#038;p=91"},"modified":"2024-06-26T16:56:52","modified_gmt":"2024-06-26T23:56:52","slug":"profiles-block","status":"publish","type":"pitchfork-docs","link":"https:\/\/comm.engineering.asu.edu\/pitchfork\/docs\/profiles-block\/","title":{"rendered":"Profiles Block"},"content":{"rendered":"<div class=\"wp-block-alert alert is-style-alert-info\"><div class=\"alert-icon\"><span class=\"fas fa-check-circle\"><\/span><\/div><div class=\"alert-content\"><div class=\"acf-innerblocks-container\">\n\n<p class=\"is-style-lead\">This document describes the options for the profiles wrapper block. Be sure to check out the related documentation for the <a href=\"https:\/\/comm.engineering.asu.edu\/pitchfork\/docs\/profile-block-manual\/\" data-type=\"pitchfork-docs\" data-id=\"79\">manual profile<\/a> block and the <a href=\"https:\/\/comm.engineering.asu.edu\/pitchfork\/docs\/profile-block-data\">data-driven profile<\/a> block as well.<\/p>\n\n<\/div><\/div><\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"options\">Block options<\/h2>\n\n\n\n<p>Support for&nbsp;<code>margin-top<\/code>&nbsp;and&nbsp;<code>margin-bottom<\/code>&nbsp;are included with the dimensions panel.<\/p>\n\n\n\n<p>The <code>profiles<\/code> (plural) block is a parent wrapper for the manual and data-driven profile blocks. It provides the necessary CSS grid structure to allow for the individual profiles to behave properly at various widths and screen types. <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>Profile-manual<\/code> and <code>profile<\/code> are the only blocks that are permitted as children of the <code>profiles<\/code> block.  <\/li>\n\n\n\n<li><code>Profile-manual<\/code> and <code>profile<\/code> can, however, be deployed independently of this wrapper block to allow for different layouts involving a profile on a page.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"fields\">Fields<\/h2>\n\n\n\n<p>This block provides one unique field: users can set the<strong> number of columns<\/strong> to either one, two or three columns. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"notes\">Notes<\/h2>\n\n\n\n<p>Be sure to include this block as the wrapper block for creating a grid of multiple <code>profile-data<\/code> blocks on a page. By grouping multiple data-driven blocks together as inner blocks within this wrapper, you ensure that the calls to the ASU Search API for the returned data are done in a performant way.<\/p>\n\n\n\n<p>This wrapper block allows its children profile blocks to behave properly as the screen size reduces in display width from desktop down to mobile.<\/p>\n\n\n\n<p>All combinations of block size (micro, small, large) and the number of columns (one-col, two-col, three-col) are supported in the block editor. However, the layouts involving grids of profiles that work the best in terms of design and readability are as follows:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>One col + &#8220;large&#8221; profiles<\/strong> &#8211; The CSS for this combination intentionally prevents the block from expanding beyond 800px wide for readability.<\/li>\n\n\n\n<li><strong>Two col + &#8220;large&#8221; profiles<\/strong> &#8211; Limit the description length to a small text length for best results.<\/li>\n\n\n\n<li><strong>Two col + &#8220;small&#8221; profiles<\/strong> &#8211; Looks great, always.<\/li>\n\n\n\n<li><strong>Three col + &#8220;micro&#8221; profiles<\/strong> &#8211; Consider using background colors (white or gray 2) to create a proper grid effect.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p class=\"mb-2\">A wrapper block for the manual and data-driven profile blocks. Created to make deploying directory pages easier. Utilized in all profile block patterns.<\/p>\n","protected":false},"parent":0,"menu_order":6,"template":"","pitchfork-docs-category":[11],"class_list":["post-91","pitchfork-docs","type-pitchfork-docs","status-publish","hentry","pitchfork-docs-category-pitchfork-people"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Profiles Block - Pitchfork Theme for WordPress<\/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:\/\/comm.engineering.asu.edu\/pitchfork\/docs\/profiles-block\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Profiles Block - Pitchfork Theme for WordPress\" \/>\n<meta property=\"og:description\" content=\"A wrapper block for the manual and data-driven profile blocks. Created to make deploying directory pages easier. Utilized in all profile block patterns.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/comm.engineering.asu.edu\/pitchfork\/docs\/profiles-block\/\" \/>\n<meta property=\"og:site_name\" content=\"Pitchfork Theme for WordPress\" \/>\n<meta property=\"article:modified_time\" content=\"2024-06-26T23:56:52+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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/comm.engineering.asu.edu\\\/pitchfork\\\/docs\\\/profiles-block\\\/\",\"url\":\"https:\\\/\\\/comm.engineering.asu.edu\\\/pitchfork\\\/docs\\\/profiles-block\\\/\",\"name\":\"Profiles Block - Pitchfork Theme for WordPress\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/comm.engineering.asu.edu\\\/pitchfork\\\/#website\"},\"datePublished\":\"2023-01-25T22:39:52+00:00\",\"dateModified\":\"2024-06-26T23:56:52+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/comm.engineering.asu.edu\\\/pitchfork\\\/docs\\\/profiles-block\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/comm.engineering.asu.edu\\\/pitchfork\\\/docs\\\/profiles-block\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/comm.engineering.asu.edu\\\/pitchfork\\\/docs\\\/profiles-block\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/comm.engineering.asu.edu\\\/pitchfork\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Documents\",\"item\":\"https:\\\/\\\/comm.engineering.asu.edu\\\/pitchfork\\\/docs\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Profiles Block\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/comm.engineering.asu.edu\\\/pitchfork\\\/#website\",\"url\":\"https:\\\/\\\/comm.engineering.asu.edu\\\/pitchfork\\\/\",\"name\":\"Pitchfork Theme for WordPress\",\"description\":\"an ASU Engineering theme for WordPress\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/comm.engineering.asu.edu\\\/pitchfork\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Profiles Block - Pitchfork Theme for WordPress","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:\/\/comm.engineering.asu.edu\/pitchfork\/docs\/profiles-block\/","og_locale":"en_US","og_type":"article","og_title":"Profiles Block - Pitchfork Theme for WordPress","og_description":"A wrapper block for the manual and data-driven profile blocks. Created to make deploying directory pages easier. Utilized in all profile block patterns.","og_url":"https:\/\/comm.engineering.asu.edu\/pitchfork\/docs\/profiles-block\/","og_site_name":"Pitchfork Theme for WordPress","article_modified_time":"2024-06-26T23:56:52+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/comm.engineering.asu.edu\/pitchfork\/docs\/profiles-block\/","url":"https:\/\/comm.engineering.asu.edu\/pitchfork\/docs\/profiles-block\/","name":"Profiles Block - Pitchfork Theme for WordPress","isPartOf":{"@id":"https:\/\/comm.engineering.asu.edu\/pitchfork\/#website"},"datePublished":"2023-01-25T22:39:52+00:00","dateModified":"2024-06-26T23:56:52+00:00","breadcrumb":{"@id":"https:\/\/comm.engineering.asu.edu\/pitchfork\/docs\/profiles-block\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/comm.engineering.asu.edu\/pitchfork\/docs\/profiles-block\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/comm.engineering.asu.edu\/pitchfork\/docs\/profiles-block\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/comm.engineering.asu.edu\/pitchfork\/"},{"@type":"ListItem","position":2,"name":"Documents","item":"https:\/\/comm.engineering.asu.edu\/pitchfork\/docs\/"},{"@type":"ListItem","position":3,"name":"Profiles Block"}]},{"@type":"WebSite","@id":"https:\/\/comm.engineering.asu.edu\/pitchfork\/#website","url":"https:\/\/comm.engineering.asu.edu\/pitchfork\/","name":"Pitchfork Theme for WordPress","description":"an ASU Engineering theme for WordPress","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/comm.engineering.asu.edu\/pitchfork\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/comm.engineering.asu.edu\/pitchfork\/wp-json\/wp\/v2\/pitchfork-docs\/91","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/comm.engineering.asu.edu\/pitchfork\/wp-json\/wp\/v2\/pitchfork-docs"}],"about":[{"href":"https:\/\/comm.engineering.asu.edu\/pitchfork\/wp-json\/wp\/v2\/types\/pitchfork-docs"}],"wp:attachment":[{"href":"https:\/\/comm.engineering.asu.edu\/pitchfork\/wp-json\/wp\/v2\/media?parent=91"}],"wp:term":[{"taxonomy":"pitchfork-docs-category","embeddable":true,"href":"https:\/\/comm.engineering.asu.edu\/pitchfork\/wp-json\/wp\/v2\/pitchfork-docs-category?post=91"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}