  {"id":754,"date":"2023-11-01T08:24:53","date_gmt":"2023-11-01T12:24:53","guid":{"rendered":"https:\/\/carleton.ca\/cutheme-docs\/?page_id=754"},"modified":"2024-09-18T20:31:29","modified_gmt":"2024-09-19T00:31:29","slug":"card-blocks","status":"publish","type":"page","link":"https:\/\/carleton.ca\/cutheme-docs\/advanced\/module-2-cards-listing-blocks\/card-blocks\/","title":{"rendered":"Card Blocks"},"content":{"rendered":"\n<section class=\"w-screen px-6 cu-section cu-section--white ml-offset-center md:px-8 lg:px-14\">\n    <div class=\"space-y-6 cu-max-w-child-5xl  md:space-y-10 cu-prose-first-last\">\n\n            <div class=\"cu-textmedia flex flex-col lg:flex-row mx-auto gap-6 md:gap-10 my-6 md:my-12 first:mt-0 max-w-5xl\">\n        <div class=\"justify-start cu-textmedia-content cu-prose-first-last\" style=\"flex: 0 0 100%;\">\n            <header class=\"font-light prose-xl cu-pageheader md:prose-2xl cu-component-updated cu-prose-first-last\">\n                                    <h1 class=\"cu-prose-first-last font-semibold !mt-2 mb-4 md:mb-6 relative after:absolute after:h-px after:bottom-0 after:bg-cu-red after:left-px text-3xl md:text-4xl lg:text-5xl lg:leading-[3.5rem] pb-5 after:w-10 text-cu-black-700 not-prose\">\n                        Card Blocks\n                    <\/h1>\n                \n                                \n                                    \n\n\n<p>Module 2.3 \u2013 Advanced: Listing Blocks: Cards<\/p>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/carleton.ca\/cutheme-docs\/block-library\/card-blocks\/\">Examples: Card Blocks<\/a><\/div>\n<\/div>\n\n\n\n                            <\/header>\n\n                    <\/div>\n\n            <\/div>\n\n    <\/div>\n<\/section>\n\n\n\n\n<div class=\"w-full max-w-xl mx-auto overflow-hidden bg-white rounded-lg shadow-lg cu-stackedlist cu-component not-contained not-prose\">\n    <h2 class=\"px-6 py-4 text-base font-semibold border-b rounded-t-lg md:text-xl bg-gray-50 text-cu-black-800\">\n        Table of Contents\n    <\/h2>\n    <div class=\"grid cu-scrollto cu-stackedlist--toc cu-stackedlist--1 md:grid-cols-1\">\n            <div class=\"space-y-1\">\n                    \n            <div class=\"pl-4 text-cu-red-700\">\n                <div class=\"flex gap-2 pb-3 text-base md:text-lg\">\n                    <span class=\"font-light text-cu-black-700\">\n                        1.\n                    <\/span>\n\n                    <a href=\"#step-by-step\" class=\"font-medium hover:underline\">\n                        Step-By-Step\n                    <\/a>\n                <\/div>\n\n                                        <div class=\"space-y-1\">\n                    \n            <div class=\"pl-10 text-cu-red-700\">\n                <div class=\"flex gap-2 pb-3 text-base md:text-lg\">\n                    <span class=\"font-light text-cu-black-700\">\n                        1.1\n                    <\/span>\n\n                    <a href=\"#add-a-card-block\" class=\"font-medium hover:underline\">\n                        Add a Card Block\n                    <\/a>\n                <\/div>\n\n                            <\/div>\n            <\/div>\n\n                            <\/div>\n                    \n            <div class=\"pl-4 text-cu-red-700\">\n                <div class=\"flex gap-2 pb-3 text-base md:text-lg\">\n                    <span class=\"font-light text-cu-black-700\">\n                        2.\n                    <\/span>\n\n                    <a href=\"#news-card-display-options\" class=\"font-medium hover:underline\">\n                        News Card Display Options\n                    <\/a>\n                <\/div>\n\n                            <\/div>\n                    \n            <div class=\"pl-4 text-cu-red-700\">\n                <div class=\"flex gap-2 pb-3 text-base md:text-lg\">\n                    <span class=\"font-light text-cu-black-700\">\n                        3.\n                    <\/span>\n\n                    <a href=\"#event-card-display-options\" class=\"font-medium hover:underline\">\n                        Event Card Display Options\n                    <\/a>\n                <\/div>\n\n                            <\/div>\n                    \n            <div class=\"pl-4 text-cu-red-700\">\n                <div class=\"flex gap-2 pb-3 text-base md:text-lg\">\n                    <span class=\"font-light text-cu-black-700\">\n                        4.\n                    <\/span>\n\n                    <a href=\"#people-card-display-options\" class=\"font-medium hover:underline\">\n                        People Card Display Options\n                    <\/a>\n                <\/div>\n\n                            <\/div>\n                    \n            <div class=\"pl-4 text-cu-red-700\">\n                <div class=\"flex gap-2 pb-3 text-base md:text-lg\">\n                    <span class=\"font-light text-cu-black-700\">\n                        5.\n                    <\/span>\n\n                    <a href=\"#video-card-display-options\" class=\"font-medium hover:underline\">\n                        Video Card Display Options\n                    <\/a>\n                <\/div>\n\n                            <\/div>\n                    \n            <div class=\"pl-4 text-cu-red-700\">\n                <div class=\"flex gap-2 pb-3 text-base md:text-lg\">\n                    <span class=\"font-light text-cu-black-700\">\n                        6.\n                    <\/span>\n\n                    <a href=\"#file-card-display-options\" class=\"font-medium hover:underline\">\n                        File Card Display Options\n                    <\/a>\n                <\/div>\n\n                            <\/div>\n                    \n            <div class=\"pl-4 text-cu-red-700\">\n                <div class=\"flex gap-2 pb-3 text-base md:text-lg\">\n                    <span class=\"font-light text-cu-black-700\">\n                        7.\n                    <\/span>\n\n                    <a href=\"#page-card-display-options\" class=\"font-medium hover:underline\">\n                        Page Card Display Options\n                    <\/a>\n                <\/div>\n\n                            <\/div>\n                    \n            <div class=\"pl-4 text-cu-red-700\">\n                <div class=\"flex gap-2 pb-3 text-base md:text-lg\">\n                    <span class=\"font-light text-cu-black-700\">\n                        8.\n                    <\/span>\n\n                    <a href=\"#example-event-card-block\" class=\"font-medium hover:underline\">\n                        Example: Event Card Block\n                    <\/a>\n                <\/div>\n\n                            <\/div>\n                    \n            <div class=\"pl-4 text-cu-red-700\">\n                <div class=\"flex gap-2 pb-3 text-base md:text-lg\">\n                    <span class=\"font-light text-cu-black-700\">\n                        9.\n                    <\/span>\n\n                    <a href=\"#example-people-card-block\" class=\"font-medium hover:underline\">\n                        Example: People Card Block\n                    <\/a>\n                <\/div>\n\n                            <\/div>\n                    \n            <div class=\"pl-4 text-cu-red-700\">\n                <div class=\"flex gap-2 pb-3 text-base md:text-lg\">\n                    <span class=\"font-light text-cu-black-700\">\n                        10.\n                    <\/span>\n\n                    <a href=\"#video-tutorial\" class=\"font-medium hover:underline\">\n                        Video Tutorial\n                    <\/a>\n                <\/div>\n\n                            <\/div>\n                    \n            <div class=\"pl-4 text-cu-red-700\">\n                <div class=\"flex gap-2 pb-3 text-base md:text-lg\">\n                    <span class=\"font-light text-cu-black-700\">\n                        11.\n                    <\/span>\n\n                    <a href=\"#try-it-out\" class=\"font-medium hover:underline\">\n                        Try it Out!\n                    <\/a>\n                <\/div>\n\n                            <\/div>\n            <\/div>\n\n    <\/div>\n<\/div>\n\n\n\n<p>Card listing blocks are used for pulling categorized content onto a page in a card format (vs <a href=\"https:\/\/carleton.ca\/cutheme-docs\/advanced\/module-2-cards-listing-blocks\/listing-block\/\">stacked listings<\/a> which are formatted like a list). There are six card blocks available: news posts, events, people, videos, files, and pages.<\/p>\n\n\n\n<p>Follow along below to learn more about how you can use a card block. I&#8217;ll focus on News Cards, but the process is the same for all card blocks with different display options available.<\/p>\n\n\n\n<h2 id=\"step-by-step\" class=\"wp-block-heading\">Step-By-Step<\/h2>\n\n\n\n<h3 id=\"add-a-card-block\" class=\"wp-block-heading\">Add a Card Block<\/h3>\n\n\n\n<p><strong class=\"myprefix-text-bold\">1.<\/strong> <a href=\"https:\/\/carleton.ca\/cutheme-docs\/getting-started\/module-3-essential-text-blocks\/module-3-blocks-overview\/#addblock\">Add a<strong class=\"myprefix-text-bold\"> <\/strong>Card&nbsp;block using the block menu.<\/a> Under Card Grids, choose from Event Cards, News Cards, People Cards, Video Cards, File Cards, or Page Cards.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"650\" height=\"1020\" src=\"https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2024\/04\/CleanShot-2024-04-23-at-09.33.31@2x.png\" alt=\"Add a card listing block\" class=\"wp-image-3589\" style=\"width:286px;height:auto\" srcset=\"https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2024\/04\/CleanShot-2024-04-23-at-09.33.31@2x.png 650w, https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2024\/04\/CleanShot-2024-04-23-at-09.33.31@2x-320x502.png 320w, https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2024\/04\/CleanShot-2024-04-23-at-09.33.31@2x-512x803.png 512w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\" \/><\/figure>\n\n\n\n<p><strong class=\"myprefix-text-bold\">2.<\/strong> Select options from the Block menu on the right.<\/p>\n\n\n\n<h2 id=\"news-card-display-options\" class=\"wp-block-heading\">News Card Display Options<\/h2>\n\n\n\n<section class=\"w-screen px-6 cu-section cu-section--white ml-offset-center md:px-8 lg:px-14\">\n    <div class=\"space-y-6 cu-max-w-child-5xl  md:space-y-10 cu-prose-first-last\">\n\n        \n    <div class=\"grid gap-6 mx-auto my-6 cu-column md:gap-10 md:grid-cols-2 md:my-10 first:mt-0\">\n        \n<div class=\"cu-column-content\">\n    \n<ol class=\"wp-block-list\">\n\n<li>Add a header (title) to the card block<\/li>\n\n\n<li>The block background can be white or grey<\/li>\n\n\n<li>Select the number of columns (2,3, or 4) using the slider<\/li>\n\n\n<li>Toggle images off or on<\/li>\n\n\n<li>Toggle dates off or on<\/li>\n\n\n<li>Toggle excerpts off or on<\/li>\n\n\n<li>Determine the number of news cards to display using the slider.<\/li>\n\n\n<li>Add a More Button to show more cards\n\n<ul class=\"wp-block-list\">\n\n<li>Choose <strong class=\"myprefix-text-bold\">Load More <\/strong>to display more on the page<\/li>\n\n\n<li>Choose <strong class=\"myprefix-text-bold\">View More<\/strong> to bring visitors to another page<\/li>\n\n<\/ul>\n\n<\/li>\n\n\n<li>Display cards (posts) from one or more categories by typing the category name into the text box<\/li>\n\n<\/ol>\n\n<\/div>\n\n\n<div class=\"cu-column-content\">\n    \n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"436\" height=\"1112\" src=\"https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2024\/04\/CleanShot-2024-04-23-at-09.37.20@2x.png\" alt=\"News Card\" class=\"wp-image-3590\" style=\"width:304px;height:auto\" srcset=\"https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2024\/04\/CleanShot-2024-04-23-at-09.37.20@2x.png 436w, https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2024\/04\/CleanShot-2024-04-23-at-09.37.20@2x-320x816.png 320w\" sizes=\"auto, (max-width: 436px) 100vw, 436px\" \/><\/figure>\n\n<\/div>\n\n\n    <\/div>\n\n\n    <\/div>\n<\/section>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button is-style-light-grey is-style-light-grey--1\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/carleton.ca\/cutheme-docs\/block-library\/card-blocks\/news-cards\/\">View examples: News Card Block<\/a><\/div>\n<\/div>\n\n\n\n<h2 id=\"event-card-display-options\" class=\"wp-block-heading\">Event Card Display Options<\/h2>\n\n\n\n<section class=\"w-screen px-6 cu-section cu-section--white ml-offset-center md:px-8 lg:px-14\">\n    <div class=\"space-y-6 cu-max-w-child-5xl  md:space-y-10 cu-prose-first-last\">\n\n        \n    <div class=\"grid gap-6 mx-auto my-6 cu-column md:gap-10 md:grid-cols-2 md:my-10 first:mt-0\">\n        \n<div class=\"cu-column-content\">\n    \n<ol class=\"wp-block-list\">\n\n<li>Add a header (title) to the event card block<\/li>\n\n\n<li>The block background can be white or grey<\/li>\n\n\n<li>Select the number of columns (2,3, or 4) using the slider<\/li>\n\n\n<li>Use slider to select the number of events to display <\/li>\n\n\n<li>Display either upcoming or past events<\/li>\n\n\n<li>Add a More Button to show more cards\n\n<ul class=\"wp-block-list\">\n\n<li>Choose <strong class=\"myprefix-text-bold\">Load More <\/strong>to display more on the page<\/li>\n\n\n<li>Choose <strong class=\"myprefix-text-bold\">View More<\/strong> to bring visitors to another page<\/li>\n\n<\/ul>\n\n<\/li>\n\n\n<li>Display events from one or more categories by typing the category name into the text box<\/li>\n\n<\/ol>\n\n<\/div>\n\n\n<div class=\"cu-column-content\">\n    \n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"360\" height=\"992\" src=\"https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2024\/04\/CleanShot-2024-04-23-at-10.38.20@2x.png\" alt=\"Event card display options\" class=\"wp-image-3601\" style=\"width:314px;height:auto\" srcset=\"https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2024\/04\/CleanShot-2024-04-23-at-10.38.20@2x.png 360w, https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2024\/04\/CleanShot-2024-04-23-at-10.38.20@2x-320x882.png 320w\" sizes=\"auto, (max-width: 360px) 100vw, 360px\" \/><\/figure>\n\n<\/div>\n\n\n    <\/div>\n\n\n    <\/div>\n<\/section>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button is-style-light-grey is-style-light-grey--2\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/carleton.ca\/cutheme-docs\/block-library\/card-blocks\/event-cards\/\">View Examples: Event Card Block<\/a><\/div>\n<\/div>\n\n\n\n<h2 id=\"people-card-display-options\" class=\"wp-block-heading\">People Card Display Options<\/h2>\n\n\n\n<section class=\"w-screen px-6 cu-section cu-section--white ml-offset-center md:px-8 lg:px-14\">\n    <div class=\"space-y-6 cu-max-w-child-5xl  md:space-y-10 cu-prose-first-last\">\n\n        \n    <div class=\"grid gap-6 mx-auto my-6 cu-column md:gap-10 md:grid-cols-2 md:my-10 first:mt-0\">\n        \n<div class=\"cu-column-content\">\n    \n<ol class=\"wp-block-list\">\n\n<li>Add a header (title) to the people card block<\/li>\n\n\n<li>The block background can be white or grey<\/li>\n\n\n<li>Select the number of columns (2,3, or 4) using the slider<\/li>\n\n\n<li>Toggle images off or on<\/li>\n\n\n<li>Toggle job title off or on<\/li>\n\n\n<li>Toggle email off or on<\/li>\n\n\n<li>Toggle phone number off or on<\/li>\n\n\n<li>Show all people<\/li>\n\n\n<li>Determine the number of people cards to display using the slider.<\/li>\n\n\n<li>Sort by first or last name<\/li>\n\n\n<li>Determine sort order <\/li>\n\n\n<li>Add a More Button to show more cards\n\n<ul class=\"wp-block-list\">\n\n<li>Choose <strong class=\"myprefix-text-bold\">Load More <\/strong>to display more on the page<\/li>\n\n\n<li>Choose <strong class=\"myprefix-text-bold\">View More<\/strong> to bring visitors to another page<\/li>\n\n<\/ul>\n\n<\/li>\n\n\n<li>Display people from one or more categories by typing the category name into the text box<\/li>\n\n<\/ol>\n\n<\/div>\n\n\n<div class=\"cu-column-content\">\n    \n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"362\" height=\"1246\" src=\"https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2024\/04\/CleanShot-2024-04-23-at-09.45.47@2x.png\" alt=\"People card display options\" class=\"wp-image-3591\" style=\"width:295px;height:auto\" srcset=\"https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2024\/04\/CleanShot-2024-04-23-at-09.45.47@2x.png 362w, https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2024\/04\/CleanShot-2024-04-23-at-09.45.47@2x-320x1101.png 320w\" sizes=\"auto, (max-width: 362px) 100vw, 362px\" \/><\/figure>\n\n<\/div>\n\n\n    <\/div>\n\n\n    <\/div>\n<\/section>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button is-style-light-grey is-style-light-grey--3\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/carleton.ca\/cutheme-docs\/block-library\/card-blocks\/people-cards\/\">View Examples: People Card Block<\/a><\/div>\n<\/div>\n\n\n\n<h2 id=\"video-card-display-options\" class=\"wp-block-heading\">Video Card Display Options<\/h2>\n\n\n\n<section class=\"w-screen px-6 cu-section cu-section--white ml-offset-center md:px-8 lg:px-14\">\n    <div class=\"space-y-6 cu-max-w-child-5xl  md:space-y-10 cu-prose-first-last\">\n\n        \n    <div class=\"grid gap-6 mx-auto my-6 cu-column md:gap-10 md:grid-cols-2 md:my-10 first:mt-0\">\n        \n<div class=\"cu-column-content\">\n    \n<ol class=\"wp-block-list\">\n\n<li>Add a header (title) to the video card block<\/li>\n\n\n<li>The block background can be white or grey<\/li>\n\n\n<li>Select the number of columns (2,3, or 4) using the slider<\/li>\n\n\n<li>Determine the number of video cards to display using the slider.<\/li>\n\n\n<li>Sort by either video title or publishing date<\/li>\n\n\n<li>Determine sort order <\/li>\n\n\n<li>Add a More Button to show more cards\n\n<ul class=\"wp-block-list\">\n\n<li>Choose <strong class=\"myprefix-text-bold\">Load More <\/strong>to display more on the page<\/li>\n\n\n<li>Choose <strong class=\"myprefix-text-bold\">View More<\/strong> to bring visitors to another page<\/li>\n\n<\/ul>\n\n<\/li>\n\n\n<li>Display video from one or more categories by typing the category name into the text box<\/li>\n\n<\/ol>\n\n<\/div>\n\n\n<div class=\"cu-column-content\">\n    \n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"360\" height=\"1108\" src=\"https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2024\/04\/CleanShot-2024-04-23-at-10.01.38@2x.png\" alt=\"Video card display options\" class=\"wp-image-3594\" style=\"width:287px;height:auto\" srcset=\"https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2024\/04\/CleanShot-2024-04-23-at-10.01.38@2x.png 360w, https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2024\/04\/CleanShot-2024-04-23-at-10.01.38@2x-320x985.png 320w\" sizes=\"auto, (max-width: 360px) 100vw, 360px\" \/><\/figure>\n\n<\/div>\n\n\n    <\/div>\n\n\n    <\/div>\n<\/section>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button is-style-light-grey is-style-light-grey--4\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/carleton.ca\/cutheme-docs\/block-library\/card-blocks\/video-cards\/\">View Examples: Video Card Block<\/a><\/div>\n<\/div>\n\n\n\n<h2 id=\"file-card-display-options\" class=\"wp-block-heading\">File Card Display Options<\/h2>\n\n\n\n<section class=\"w-screen px-6 cu-section cu-section--white ml-offset-center md:px-8 lg:px-14\">\n    <div class=\"space-y-6 cu-max-w-child-5xl  md:space-y-10 cu-prose-first-last\">\n\n        \n    <div class=\"grid gap-6 mx-auto my-6 cu-column md:gap-10 md:grid-cols-2 md:my-10 first:mt-0\">\n        \n<div class=\"cu-column-content\">\n    \n<ol class=\"wp-block-list\">\n\n<li>Add a header (title) to the file card block<\/li>\n\n\n<li>The block background can be white or grey<\/li>\n\n\n<li>Select the number of columns (2,3, or 4) using the slider<\/li>\n\n\n<li>Show all files<\/li>\n\n\n<li>Determine the number of file cards to display using the slider.<\/li>\n\n\n<li>Sort alphabetically or by date modified<\/li>\n\n\n<li>Determine sort order <\/li>\n\n\n<li>Add a More Button to show more cards\n\n<ul class=\"wp-block-list\">\n\n<li>Choose <strong class=\"myprefix-text-bold\">Load More <\/strong>to display more on the page<\/li>\n\n\n<li>Choose <strong class=\"myprefix-text-bold\">View More<\/strong> to bring visitors to another page<\/li>\n\n<\/ul>\n\n<\/li>\n\n\n<li>Display files from one or more categories by typing the category name into the text box<\/li>\n\n<\/ol>\n\n<\/div>\n\n\n<div class=\"cu-column-content\">\n    \n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"364\" height=\"1158\" src=\"https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2024\/04\/CleanShot-2024-04-23-at-10.34.39@2x.png\" alt=\"File Card display options\" class=\"wp-image-3597\" style=\"width:296px;height:auto\" srcset=\"https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2024\/04\/CleanShot-2024-04-23-at-10.34.39@2x.png 364w, https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2024\/04\/CleanShot-2024-04-23-at-10.34.39@2x-320x1018.png 320w\" sizes=\"auto, (max-width: 364px) 100vw, 364px\" \/><\/figure>\n\n<\/div>\n\n\n    <\/div>\n\n\n    <\/div>\n<\/section>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button is-style-light-grey is-style-light-grey--5\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/carleton.ca\/cutheme-docs\/block-library\/card-blocks\/file-cards\/\">View Examples: File Card Block<\/a><\/div>\n<\/div>\n\n\n\n<h2 id=\"page-card-display-options\" class=\"wp-block-heading\">Page Card Display Options<\/h2>\n\n\n\n<section class=\"w-screen px-6 cu-section cu-section--white ml-offset-center md:px-8 lg:px-14\">\n    <div class=\"space-y-6 cu-max-w-child-5xl  md:space-y-10 cu-prose-first-last\">\n\n        \n    <div class=\"grid gap-6 mx-auto my-6 cu-column md:gap-10 md:grid-cols-2 md:my-10 first:mt-0\">\n        \n<div class=\"cu-column-content\">\n    \n<ol class=\"wp-block-list\">\n\n<li>Add a header (title) to the page card block<\/li>\n\n\n<li>The block background can be white or grey<\/li>\n\n\n<li>Select the number of columns (2,3, or 4) using the slider<\/li>\n\n\n<li>Show dates<\/li>\n\n\n<li>Show excerpts<\/li>\n\n\n<li>Show all pages<\/li>\n\n\n<li>Determine the number of page cards to display <\/li>\n\n\n<li>Sort alphabetically or by date modified<\/li>\n\n\n<li>Determine sort order <\/li>\n\n\n<li>Add a More Button to show more cards\n\n<ul class=\"wp-block-list\">\n\n<li>Choose <strong class=\"myprefix-text-bold\">Load More <\/strong>to display more on the page<\/li>\n\n\n<li>Choose <strong class=\"myprefix-text-bold\">View More<\/strong> to bring visitors to another page<\/li>\n\n<\/ul>\n\n<\/li>\n\n\n<li>Display pages from one or more categories by typing the category name into the text box<\/li>\n\n<\/ol>\n\n<\/div>\n\n\n<div class=\"cu-column-content\">\n    \n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"358\" height=\"1236\" src=\"https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2024\/04\/CleanShot-2024-04-23-at-10.42.41@2x.png\" alt=\"Page Card display options\" class=\"wp-image-3604\" style=\"width:291px;height:auto\" srcset=\"https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2024\/04\/CleanShot-2024-04-23-at-10.42.41@2x.png 358w, https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2024\/04\/CleanShot-2024-04-23-at-10.42.41@2x-320x1105.png 320w\" sizes=\"auto, (max-width: 358px) 100vw, 358px\" \/><\/figure>\n\n<\/div>\n\n\n    <\/div>\n\n\n    <\/div>\n<\/section>\n\n\n\n\n\n\n                                                                                                                                                                                                                                                                                                                                                                                                                                    \n\n\n\n<section class=\"w-screen px-6 cu-section cu-section--white cu-section--cards ml-offset-center md:px-8 lg:px-14\" data-attributes=\"&#x7B;&quot;blockHeader&quot;&#x3A;&quot;Example&#x3A;&#x20;Event&#x20;Card&#x20;Block&#x20;&quot;,&quot;numberOfPosts&quot;&#x3A;3,&quot;numberOfColumns&quot;&#x3A;3,&quot;blockBackground&quot;&#x3A;&quot;white&quot;,&quot;moreButton&quot;&#x3A;&quot;none&quot;,&quot;currentPage&quot;&#x3A;1,&quot;blockType&quot;&#x3A;&quot;cards&quot;,&quot;contentType&quot;&#x3A;&quot;cu_event&quot;,&quot;taxName&quot;&#x3A;&quot;cu_event_type&quot;,&quot;order&quot;&#x3A;&quot;ASC&quot;,&quot;orderBy&quot;&#x3A;&quot;meta_value&quot;,&quot;metaCompare&quot;&#x3A;&quot;&gt;&#x3D;&quot;,&quot;metaField&quot;&#x3A;&quot;cu_event_end_date&quot;,&quot;showFilter&quot;&#x3A;false,&quot;hideEventMeta&quot;&#x3A;false,&quot;categories&quot;&#x3A;&quot;&quot;,&quot;tags&quot;&#x3A;&quot;&quot;&#x7D;\" data-page=\"2\">\n    <div class=\"space-y-6 cu-max-w-child-5xl  md:space-y-10 cu-prose-first-last\">\n\n                            \n\n\n<header class=\"mb-6 cu-pageheader cu-component-updated md:mb-12\">\n    <h2 id=\"example-event-card-block\" class=\"cu-prose-first-last font-semibold !mt-2 mb-4 md:mb-6 relative text-2xl md:text-3xl lg:text-4xl lg:leading-[3rem] pb-4 after:w-8 after:absolute after:h-px after:bottom-0 after:bg-cu-red after:left-px\">\n        Example: Event Card Block \n    <\/h2>\n\n    <\/header>\n        \n                \n        <div class=\"cu-loading hidden text-center mx-auto h-6 w-6 animate-spin rounded-full border-4 border-solid border-current border-r-transparent align-[-0.125em] motion-reduce:animate-[spin_1.5s_linear_infinite]\" role=\"status\">\n    <span class=\"!absolute !-m-px !h-px !w-px !overflow-hidden !whitespace-nowrap !border-0 !p-0 ![clip:rect(0,0,0,0)]\">\n        Loading&#8230;\n    <\/span>\n<\/div>\n\n                                        \n        <p class=\"cu-no-posts hidden\">\n            No\n            event\n\n            posts are available.\n        <\/p>\n\n                <div class=\"cu-column cu-component not-contained mx-auto grid max-w-5xl md:grid-cols-3 gap-6 md:gap-10\">\n                        \n                    \n<div class=\"not-prose cu-card rounded-lg @container md:max-w-xl flex flex-col gap-3 bg-white shadow-lg shadow-cu-black-100 group duration-300 ease-in hover:scale-[1.02] hover:shadow-cu-black-200\">\n\n            <figure class=\"mb-2 overflow-hidden rounded-t-lg\">\n            <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2023\/10\/coffee-laptop.jpeg\" alt=\"coffee and laptop\" width=\"600\" height=\"400\" \/>\n        <\/figure>\n    \n                            <div class=\"mx-6 mb-2 -mt-16\">\n                <h3 class=\"h-20 w-20 @4xl:lg:h-32 @4xl:lg:w-32 flex flex-col items-center justify-center rounded-md bg-white shadow-md\">\n            <span class=\"block text-xs @4xl:lg:text-lg font-bold uppercase text-cu-red\">\n                                    Dec\n                            <\/span>\n            <span class=\"block text-2xl @4xl:lg:text-4xl font-bold uppercase text-cu-black-800\">\n                                    11\n                            <\/span>\n        <\/h3>\n                    <\/div>\n            \n\n        <header class=\"flex flex-col gap-3  px-6 first:mt-6\">\n                \n        \n    \n    <h3 class=\"line-clamp-3 text-lg font-semibold text-cu-black @sm:md:text-xl leading-6 @sm:md:leading-8\">\n        Coffee Break with Web Services\n    <\/h3>\n\n            <\/header>\n\n\n            <div class=\"flex flex-col px-6\">\n\n            <ul class=\"space-y-3 text-sm text-cu-black-600 @sm:md:text-base\">\n                <li>\n                                <div class=\"flex\">\n\n                            <span class=\"flex-shrink-0 mr-2 cu-icon\" style=\"width: 20px; height: 20px; display: inline-block;\" aria-hidden=\"true\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" fill=\"#f48c90\" width=\"20\" height=\"20\"><path d=\"M480 256A224 224 0 1 1 32 256a224 224 0 1 1 448 0zM0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM240 112l0 144c0 5.3 2.7 10.3 7.1 13.3l96 64c7.4 4.9 17.3 2.9 22.2-4.4s2.9-17.3-4.4-22.2L272 247.4 272 112c0-8.8-7.2-16-16-16s-16 7.2-16 16z\"><\/path><\/svg><\/span>\n                        \n                            10:00 PM\n                to\n                11:00 PM\n                    <\/div>\n    \n                <\/li>\n                <li>\n                                <div class=\"flex\">\n                            <span class=\"flex-shrink-0 mr-2 cu-icon\" style=\"width: 20px; height: 20px; display: inline-block;\" aria-hidden=\"true\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 384 512\" fill=\"#f48c90\" width=\"20\" height=\"20\"><path d=\"M352 192c0-88.4-71.6-160-160-160S32 103.6 32 192c0 15.6 5.4 37 16.6 63.4c10.9 25.9 26.2 54 43.6 82.1c34.1 55.3 74.4 108.2 99.9 140c25.4-31.8 65.8-84.7 99.9-140c17.3-28.1 32.7-56.3 43.6-82.1C346.6 229 352 207.6 352 192zm32 0c0 87.4-117 243-168.3 307.2c-12.3 15.3-35.1 15.3-47.4 0C117 435 0 279.4 0 192C0 86 86 0 192 0S384 86 384 192zm-240 0a48 48 0 1 0 96 0 48 48 0 1 0 -96 0zm48 80a80 80 0 1 1 0-160 80 80 0 1 1 0 160z\"><\/path><\/svg><\/span>\n            \n                            TBD\n                    <\/div>\n    \n                <\/li>\n            <\/ul>\n        <\/div>\n    \n    <footer class=\"px-6 pt-3 mt-auto md:pt-5\">\n        <a href=\"https:\/\/carleton.ca\/cutheme-docs\/event\/coffee-break-with-web-services\/\" class=\"cu-button cu-button--red cu-button--small\">\n            View event info\n            <span class=\"sr-only\">\n                about\n                Coffee Break with Web Services\n            <\/span>\n        <\/a>\n    <\/footer>\n<\/div>\n\n            \n                    \n<div class=\"not-prose cu-card rounded-lg @container md:max-w-xl flex flex-col gap-3 bg-white shadow-lg shadow-cu-black-100 group duration-300 ease-in hover:scale-[1.02] hover:shadow-cu-black-200\">\n\n            <figure class=\"mb-2 overflow-hidden rounded-t-lg\">\n            <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2023\/10\/coffee.jpg\" alt=\"coffee\" width=\"600\" height=\"400\" \/>\n        <\/figure>\n    \n                            <div class=\"mx-6 mb-2 -mt-16\">\n                <h3 class=\"h-20 w-20 @4xl:lg:h-32 @4xl:lg:w-32 flex flex-col items-center justify-center rounded-md bg-white shadow-md\">\n            <span class=\"block text-xs @4xl:lg:text-lg font-bold uppercase text-cu-red\">\n                                    Oct\n                            <\/span>\n            <span class=\"block text-2xl @4xl:lg:text-4xl font-bold uppercase text-cu-black-800\">\n                                    26\n                            <\/span>\n        <\/h3>\n                    <\/div>\n            \n\n        <header class=\"flex flex-col gap-3  px-6 first:mt-6\">\n                \n        \n    \n    <h3 class=\"line-clamp-3 text-lg font-semibold text-cu-black @sm:md:text-xl leading-6 @sm:md:leading-8\">\n        Coffee Break\n    <\/h3>\n\n            <\/header>\n\n\n            <div class=\"flex flex-col px-6\">\n\n            <ul class=\"space-y-3 text-sm text-cu-black-600 @sm:md:text-base\">\n                <li>\n                                <div class=\"flex\">\n\n                            <span class=\"flex-shrink-0 mr-2 cu-icon\" style=\"width: 20px; height: 20px; display: inline-block;\" aria-hidden=\"true\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" fill=\"#f48c90\" width=\"20\" height=\"20\"><path d=\"M480 256A224 224 0 1 1 32 256a224 224 0 1 1 448 0zM0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM240 112l0 144c0 5.3 2.7 10.3 7.1 13.3l96 64c7.4 4.9 17.3 2.9 22.2-4.4s2.9-17.3-4.4-22.2L272 247.4 272 112c0-8.8-7.2-16-16-16s-16 7.2-16 16z\"><\/path><\/svg><\/span>\n                        \n                            4:00 PM\n                to\n                6:00 PM\n                    <\/div>\n    \n                <\/li>\n                <li>\n                                <div class=\"flex\">\n                            <span class=\"flex-shrink-0 mr-2 cu-icon\" style=\"width: 20px; height: 20px; display: inline-block;\" aria-hidden=\"true\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 384 512\" fill=\"#f48c90\" width=\"20\" height=\"20\"><path d=\"M352 192c0-88.4-71.6-160-160-160S32 103.6 32 192c0 15.6 5.4 37 16.6 63.4c10.9 25.9 26.2 54 43.6 82.1c34.1 55.3 74.4 108.2 99.9 140c25.4-31.8 65.8-84.7 99.9-140c17.3-28.1 32.7-56.3 43.6-82.1C346.6 229 352 207.6 352 192zm32 0c0 87.4-117 243-168.3 307.2c-12.3 15.3-35.1 15.3-47.4 0C117 435 0 279.4 0 192C0 86 86 0 192 0S384 86 384 192zm-240 0a48 48 0 1 0 96 0 48 48 0 1 0 -96 0zm48 80a80 80 0 1 1 0-160 80 80 0 1 1 0 160z\"><\/path><\/svg><\/span>\n            \n                            TBD\n                    <\/div>\n    \n                <\/li>\n            <\/ul>\n        <\/div>\n    \n    <footer class=\"px-6 pt-3 mt-auto md:pt-5\">\n        <a href=\"https:\/\/carleton.ca\/cutheme-docs\/event\/event-block\/\" class=\"cu-button cu-button--red cu-button--small\">\n            View event info\n            <span class=\"sr-only\">\n                about\n                Coffee Break\n            <\/span>\n        <\/a>\n    <\/footer>\n<\/div>\n\n                    \n        <\/div>\n        \n                                    \n    <\/div>\n<\/section>\n\n\n    \n\n\n\n                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    \n\n\n\n<section class=\"w-screen px-6 cu-section cu-section--grey cu-section--cards ml-offset-center md:px-8 lg:px-14\" data-attributes=\"&#x7B;&quot;blockHeader&quot;&#x3A;&quot;Example&#x3A;&#x20;People&#x20;Card&#x20;Block&quot;,&quot;blockBackground&quot;&#x3A;&quot;grey&quot;,&quot;showPhone&quot;&#x3A;false,&quot;numberOfPosts&quot;&#x3A;3,&quot;metaField&quot;&#x3A;&quot;cu_people_first_name&quot;,&quot;numberOfColumns&quot;&#x3A;3,&quot;showImages&quot;&#x3A;true,&quot;showJobTitle&quot;&#x3A;true,&quot;showEmail&quot;&#x3A;true,&quot;moreButton&quot;&#x3A;&quot;none&quot;,&quot;currentPage&quot;&#x3A;1,&quot;blockType&quot;&#x3A;&quot;cards&quot;,&quot;contentType&quot;&#x3A;&quot;cu_people&quot;,&quot;taxName&quot;&#x3A;&quot;cu_people_type&quot;,&quot;order&quot;&#x3A;&quot;asc&quot;,&quot;orderBy&quot;&#x3A;&quot;meta_value&quot;,&quot;showAllPosts&quot;&#x3A;false,&quot;showFilter&quot;&#x3A;false,&quot;buttonText&quot;&#x3A;&quot;View&#x20;Profile&quot;,&quot;categories&quot;&#x3A;&quot;&quot;,&quot;tags&quot;&#x3A;&quot;&quot;&#x7D;\" data-page=\"2\">\n    <div class=\"space-y-6 cu-max-w-child-5xl bg-cu-black-50 max-w-screen-2xl mx-auto rounded-xl px-6 py-5 md:px-14 md:py-12 md:space-y-10 cu-prose-first-last\">\n\n                            \n\n\n<header class=\"mb-6 cu-pageheader cu-component-updated md:mb-12\">\n    <h2 id=\"example-people-card-block\" class=\"cu-prose-first-last font-semibold !mt-2 mb-4 md:mb-6 relative text-2xl md:text-3xl lg:text-4xl lg:leading-[3rem] pb-4 after:w-8 after:absolute after:h-px after:bottom-0 after:bg-cu-red after:left-px\">\n        Example: People Card Block\n    <\/h2>\n\n    <\/header>\n        \n                \n        <div class=\"cu-loading hidden text-center mx-auto h-6 w-6 animate-spin rounded-full border-4 border-solid border-current border-r-transparent align-[-0.125em] motion-reduce:animate-[spin_1.5s_linear_infinite]\" role=\"status\">\n    <span class=\"!absolute !-m-px !h-px !w-px !overflow-hidden !whitespace-nowrap !border-0 !p-0 ![clip:rect(0,0,0,0)]\">\n        Loading&#8230;\n    <\/span>\n<\/div>\n\n                                        \n        <p class=\"cu-no-posts hidden\">\n            No\n            people\n\n            posts are available.\n        <\/p>\n\n                <div class=\"cu-column cu-component not-contained mx-auto grid max-w-5xl md:grid-cols-3 gap-6 md:gap-10\">\n                        \n                    <div class=\"not-prose cu-card rounded-lg @container md:max-w-xl flex flex-col gap-3 bg-white shadow-lg shadow-cu-black-100 text-center group duration-300 ease-in hover:scale-[1.02] hover:shadow-cu-black-200\">\n            <figure class=\"px-6 pt-8 pb-2 mb-2 overflow-hidden rounded-t-lg cu-figure--round\">\n                            <img loading=\"lazy\" decoding=\"async\"\n            src=\"https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2023\/10\/doggo-sand.jpeg\" alt=\"Dog on sandy beach\" width=\"200\" height=\"200\" \/>\n                        <\/figure>\n    \n    <header class=\"px-6 first:mt-6\">\n        <h3 class=\"text-lg font-semibold text-cu-black @sm:md:text-xl leading-6 @sm:md:leading-8\">\n                            Andrew\n                Riddles\n                    <\/h3>\n    <\/header>\n    <div class=\"flex flex-col px-6\">\n        <ul class=\"space-y-2 text-sm text-cu-black-700 @sm:md:text-base\">\n                            <li class=\"text-base @sm:md:text-lg italic\">\n                    \n                <\/li>\n                                        <li>\n                    <strong class=\"font-semibold break-all text-cu-red-700 hover:underline\">\n                        <a href=\"mailto:andrew.riddles@carleton.ca\">\n                            Email\n                            Andrew\n                        <\/a>\n                    <\/strong>\n                <\/li>\n                                <\/ul>\n    <\/div>\n    <footer class=\"px-6 pt-3 mt-auto md:pt-5\">\n        <a href=\"https:\/\/carleton.ca\/cutheme-docs\/people\/test-tet\/\" class=\"cu-button cu-button--red cu-button--small\">\n            View Profile\n            <span class=\"sr-only\">\n                for\n                Andrew Riddles\n            <\/span>\n        <\/a>\n    <\/footer>\n<\/div>\n\n            \n                    <div class=\"not-prose cu-card rounded-lg @container md:max-w-xl flex flex-col gap-3 bg-white shadow-lg shadow-cu-black-100 text-center group duration-300 ease-in hover:scale-[1.02] hover:shadow-cu-black-200\">\n            <figure class=\"px-6 pt-8 pb-2 mb-2 overflow-hidden rounded-t-lg cu-figure--round\">\n                            <img loading=\"lazy\" decoding=\"async\"\n            src=\"https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2023\/11\/dj-scaled.jpg\" alt=\"\" width=\"200\" height=\"200\" \/>\n                        <\/figure>\n    \n    <header class=\"px-6 first:mt-6\">\n        <h3 class=\"text-lg font-semibold text-cu-black @sm:md:text-xl leading-6 @sm:md:leading-8\">\n                            Danniel\n                Johnson\n                    <\/h3>\n    <\/header>\n    <div class=\"flex flex-col px-6\">\n        <ul class=\"space-y-2 text-sm text-cu-black-700 @sm:md:text-base\">\n                            <li class=\"text-base @sm:md:text-lg italic\">\n                    Designer\n                <\/li>\n                                        <li>\n                    <strong class=\"font-semibold break-all text-cu-red-700 hover:underline\">\n                        <a href=\"mailto:danniel.johnson@carleton.ca\">\n                            Email\n                            Danniel\n                        <\/a>\n                    <\/strong>\n                <\/li>\n                                <\/ul>\n    <\/div>\n    <footer class=\"px-6 pt-3 mt-auto md:pt-5\">\n        <a href=\"https:\/\/carleton.ca\/cutheme-docs\/people\/danniel-johnson\/\" class=\"cu-button cu-button--red cu-button--small\">\n            View Profile\n            <span class=\"sr-only\">\n                for\n                Danniel Johnson\n            <\/span>\n        <\/a>\n    <\/footer>\n<\/div>\n\n            \n                    <div class=\"not-prose cu-card rounded-lg @container md:max-w-xl flex flex-col gap-3 bg-white shadow-lg shadow-cu-black-100 text-center group duration-300 ease-in hover:scale-[1.02] hover:shadow-cu-black-200\">\n            <figure class=\"px-6 pt-8 pb-2 mb-2 overflow-hidden rounded-t-lg cu-figure--round\">\n                            <img loading=\"lazy\" decoding=\"async\"\n            src=\"https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2023\/10\/person.jpg\" alt=\"Happy Person\" width=\"200\" height=\"200\" \/>\n                        <\/figure>\n    \n    <header class=\"px-6 first:mt-6\">\n        <h3 class=\"text-lg font-semibold text-cu-black @sm:md:text-xl leading-6 @sm:md:leading-8\">\n                            Sarah \n                Lamb\n                    <\/h3>\n    <\/header>\n    <div class=\"flex flex-col px-6\">\n        <ul class=\"space-y-2 text-sm text-cu-black-700 @sm:md:text-base\">\n                            <li class=\"text-base @sm:md:text-lg italic\">\n                    Welder &#038; Baker\n                <\/li>\n                                        <li>\n                    <strong class=\"font-semibold break-all text-cu-red-700 hover:underline\">\n                        <a href=\"mailto:sarah.lamb@carleton.ca\">\n                            Email\n                            Sarah \n                        <\/a>\n                    <\/strong>\n                <\/li>\n                                <\/ul>\n    <\/div>\n    <footer class=\"px-6 pt-3 mt-auto md:pt-5\">\n        <a href=\"https:\/\/carleton.ca\/cutheme-docs\/people\/sarah-lamb\/\" class=\"cu-button cu-button--red cu-button--small\">\n            View Profile\n            <span class=\"sr-only\">\n                for\n                Sarah  Lamb\n            <\/span>\n        <\/a>\n    <\/footer>\n<\/div>\n\n                    \n        <\/div>\n        \n                                    \n    <\/div>\n<\/section>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-16018d1d wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button is-style-light-grey-solid\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/carleton.ca\/cutheme-docs\/block-library\/card-blocks\/\">View more card examples<\/a><\/div>\n<\/div>\n\n\n\n<h2 id=\"video-tutorial\" class=\"wp-block-heading\">Video Tutorial<\/h2>\n\n\n\n<div class=\"cu-section cu-section-5xl not-contained  cu-prose cu-prose-dark\"><figure class=\"cu-embed cu-component not-contained mx-auto max-w-5xl\"><div class=\"relative w-full pb-[56.25%] overflow-hidden border border-cu-black-100\"><iframe title=\"Videos Embed\" src=\"https:\/\/www.youtube.com\/embed\/SdbE18Oa9uQ\" class=\"cu-embed-iframe\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/div><\/figure><\/div>\n\n\n\n<section class=\"w-screen px-6 cu-section cu-section--white ml-offset-center md:px-8 lg:px-14\">\n    <div class=\"space-y-6 cu-max-w-child-5xl  md:space-y-10 cu-prose-first-last\">\n\n        \n    \n    <dl class=\"cu-description cu-component-updated\">\n        \n    <div class=\"grid pt-4 pb-3 border-b accordion border-cu-black-100 md:pt-6 md:pb-5 first:border-t\">\n        <dt class=\"font-semibold not-prose\">\n            <button class=\"flex items-center justify-between w-full text-left accordion__button\" aria-expanded=\"false\" aria-controls=\"accordion-transcript-card-blocks\">\n                <span class=\"flex-1 ml-auto text-left break-words whitespace-normal cu-icon\">\n                    Transcript &#8211; Card Blocks\n                <\/span>\n                <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" fill=\"none\" viewbox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" aria-hidden=\"true\" data-slot=\"icon\" class=\"w-5 h-5 ml-auto transition-transform rotate-0 accordion__icon text-cu-black-500\">\n                    <path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M8.25 4.5l7.5 7.5-7.5 7.5\"><\/path>\n                <\/svg>\n            <\/button>\n        <\/dt>\n        <dd class=\"p-0 mt-0 cu-prose cu-prose-first-last accordion__content md:p-0 md:mt-0\" hidden=\"\" id=\"accordion-transcript-card-blocks\">\n            \n\n<p>Hello, and Welcome to cuTheme advanced training, Module 2. In this video, we will be covering Card Blocks.<\/p>\n\n\n\n<p>Card Blocks are a way to display categorized content on pages as \u201ccards\u201d, these allow the user to select an individual piece of content within the block.<\/p>\n\n\n\n<p>Card Blocks are available for News, Events, People, Videos, and Files.<\/p>\n\n\n\n<p>In this video, I will be going over all five types.<\/p>\n\n\n\n<p>To add a Card Block, go to the block selection menu, and select the card you want. I\u2019m going to start with a News Card.<\/p>\n\n\n\n<p>Once selected, you will see there are various options on the right side of your screen, which I will take you through.<\/p>\n\n\n\n<p>For every type of card block, you can add a header and some intro text.<\/p>\n\n\n\n<p>You can change the block\u2019s background, between white and grey, and you can choose how many columns the block has, between two and four.<\/p>\n\n\n\n<p>You can also choose the number of cards shown in the block here, between 1 and 12. As well, you can choose whether or not there will more that will load, by clicking the &#8220;load more&#8221; button, or if you will be redirected to a page where you can view all of them, with the view more button. You can add the link to that page here.<\/p>\n\n\n\n<p>Lastly, you can filter by category in your categories, in your news, people, events, you can filter by category.<\/p>\n\n\n\n<p>For the news cards specifically, you can toggle whether images are shown, dates are shown, or excerpts are shown.<\/p>\n\n\n\n<p>Next up are Event Cards, I&#8217;m going to add one here.<br>It has a lot of the same features as before, like columns, numbers, but for events you can sort by either upcoming, or past. There is also the more button and categories for if you want to refine your events even further.<\/p>\n\n\n\n<p>Next up after Events Cards are People cards, I&#8217;m going to add one here. People cards offer a lot of customization. Aside from the options gone over already like the title and background, for people you can toggle their images, job titles, emails, and phone numbers.<\/p>\n\n\n\n<p>You can also choose to show all people on your site instead of a static number. You can sort people by first or last name, from A-Z or Z-A.<\/p>\n\n\n\n<p>Next up we have Video Cards, I will add one here now. Just like for events and people, you can choose how you want your videos sorted, either by title or date of publishing. For title, you can sort by Title, from A-Z or Z-A. For publishing date, you can go from old-new or new-old.<\/p>\n\n\n\n<p>Next up, we have file cards. These show all the files on your site, and just like for people, you can choose to show all the files on your site, instead of a static number. And like videos, you can sort either alphabetically or by date modified, from A-Z or Z-A, or Old-New or New-Old if you are going by date modified.<\/p>\n\n\n\n<p>The last type of block is a page card block, which shows all the pages on your site. You can toggle to have dates and excerpts on or off., and you can choose to show all pages.<\/p>\n\n\n\n<p>Lastly, you can sort by either name or date in both directions.<\/p>\n\n\n\n<p>And that is a walkthrough of all the types of card blocks in cuTheme.<\/p>\n\n\n        <\/dd>\n    <\/div>\n\n\n    <\/dl>\n\n\n    <\/div>\n<\/section>\n\n\n\n<h2 id=\"try-it-out\" class=\"wp-block-heading\">Try it Out!<\/h2>\n\n\n\n<p>Now that you have learned how to add a listing, time to try it out!<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Add a news card block.<\/li>\n\n\n\n<li>Display news from one category only.<\/li>\n\n\n\n<li>Play around with some of the card block options.<\/li>\n\n\n\n<li>Add an event card block and try out options.<\/li>\n\n\n\n<li>Add a people card block and try out options.<\/li>\n\n\n\n<li>Add a video card block and try out some options.<\/li>\n<\/ol>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/carleton.ca\/cutheme-docs\/advanced\/module-2-cards-listing-blocks\/custom-select-cards\/\">Next: Custom Select Card Block<\/a><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Card listing blocks are used for pulling categorized content onto a page in a card format (vs stacked listings which are formatted like a list). There are six card blocks available: news posts, events, people, videos, files, and pages. Follow along below to learn more about how you can use a card block. I&#8217;ll focus [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":528,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_cu_dining_location_slug":"","footnotes":"","_links_to":"","_links_to_target":""},"cu_page_type":[11],"class_list":["post-754","page","type-page","status-publish","hentry","cu_page_type-general"],"acf":{"cu_post_thumbnail":false},"_links":{"self":[{"href":"https:\/\/carleton.ca\/cutheme-docs\/wp-json\/wp\/v2\/pages\/754","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/carleton.ca\/cutheme-docs\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/carleton.ca\/cutheme-docs\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/carleton.ca\/cutheme-docs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/carleton.ca\/cutheme-docs\/wp-json\/wp\/v2\/comments?post=754"}],"version-history":[{"count":5,"href":"https:\/\/carleton.ca\/cutheme-docs\/wp-json\/wp\/v2\/pages\/754\/revisions"}],"predecessor-version":[{"id":4295,"href":"https:\/\/carleton.ca\/cutheme-docs\/wp-json\/wp\/v2\/pages\/754\/revisions\/4295"}],"up":[{"embeddable":true,"href":"https:\/\/carleton.ca\/cutheme-docs\/wp-json\/wp\/v2\/pages\/528"}],"wp:attachment":[{"href":"https:\/\/carleton.ca\/cutheme-docs\/wp-json\/wp\/v2\/media?parent=754"}],"wp:term":[{"taxonomy":"cu_page_type","embeddable":true,"href":"https:\/\/carleton.ca\/cutheme-docs\/wp-json\/wp\/v2\/cu_page_type?post=754"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}