  {"id":2813,"date":"2024-02-06T15:17:44","date_gmt":"2024-02-06T20:17:44","guid":{"rendered":"https:\/\/carleton.ca\/cutheme-docs\/?page_id=2813"},"modified":"2024-09-18T20:31:21","modified_gmt":"2024-09-19T00:31:21","slug":"using-patterns","status":"publish","type":"page","link":"https:\/\/carleton.ca\/cutheme-docs\/mastery\/module-6-block-patterns\/using-patterns\/","title":{"rendered":"Using Patterns"},"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                        Using Patterns\n                    <\/h1>\n                \n                                \n                                    \n\n\n<p>Module 6.3 \u2013 Mastery: Patterns: How to Use Block Patterns<\/p>\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=\"#1-add-block-pattern\" class=\"font-medium hover:underline\">\n                        1. Add Block Pattern\n                    <\/a>\n                <\/div>\n\n                            <\/div>\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.2\n                    <\/span>\n\n                    <a href=\"#2-customize-content-non-synced-pattern\" class=\"font-medium hover:underline\">\n                        2. Customize Content &#8211; Non-synced Pattern\n                    <\/a>\n                <\/div>\n\n                            <\/div>\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.3\n                    <\/span>\n\n                    <a href=\"#3-customize-content-synced-pattern\" class=\"font-medium hover:underline\">\n                        3. Customize Content &#8211; Synced Pattern\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=\"#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                        3.\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>In this module, you will learn how to add a block pattern to a page. This is a great way to build consistent content throughout your site.<\/p>\n\n\n\n<h2 id=\"step-by-step\" class=\"wp-block-heading\">Step-By-Step<\/h2>\n\n\n\n<h3 id=\"1-add-block-pattern\" class=\"wp-block-heading\"><strong class=\"myprefix-text-bold\">1.<\/strong> Add Block Pattern<\/h3>\n\n\n\n<p>Go to the page where you would like your pattern to appear.  Add your block pattern <a href=\"https:\/\/carleton.ca\/cutheme-docs\/getting-started\/module-3-essential-text-blocks\/module-3-blocks-overview\/#addblock\">using the block menu<\/a>. Once the menu is open:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Click on the Patterns tab<\/li>\n\n\n\n<li>Go to My Patterns<\/li>\n\n\n\n<li>Select your pattern<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1310\" height=\"892\" src=\"https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2024\/02\/CleanShot-2024-02-07-at-13.45.33@2x.png\" alt=\"Add your block pattern\" class=\"wp-image-2822\" style=\"width:672px;height:auto\" srcset=\"https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2024\/02\/CleanShot-2024-02-07-at-13.45.33@2x.png 1310w, https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2024\/02\/CleanShot-2024-02-07-at-13.45.33@2x-320x218.png 320w, https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2024\/02\/CleanShot-2024-02-07-at-13.45.33@2x-512x349.png 512w, https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2024\/02\/CleanShot-2024-02-07-at-13.45.33@2x-768x523.png 768w, https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2024\/02\/CleanShot-2024-02-07-at-13.45.33@2x-1024x697.png 1024w\" sizes=\"auto, (max-width: 1310px) 100vw, 1310px\" \/><\/figure>\n\n\n\n<h3 id=\"2-customize-content-non-synced-pattern\" class=\"wp-block-heading\"><strong class=\"myprefix-text-bold\">2.<\/strong> Customize Content &#8211; Non-synced Pattern<\/h3>\n\n\n\n<p>If using a <strong class=\"myprefix-text-bold\"><em class=\"myprefix-text-italic\">non-synced <\/em><\/strong>pattern, you can go ahead and customize the block content on your page. This will not affect the pattern anywhere else on the site.<\/p>\n\n\n\n<h3 id=\"3-customize-content-synced-pattern\" class=\"wp-block-heading\"><strong class=\"myprefix-text-bold\">3.<\/strong> Customize Content &#8211; Synced Pattern<\/h3>\n\n\n\n<p>If you add a <strong class=\"myprefix-text-bold\"><em class=\"myprefix-text-italic\">synced block <\/em><\/strong>to a page, any changes that you make will cascade across the entire site changing all blocks of this type.<\/p>\n\n\n\n<p>You can detach a synced block to make it stand-alone. Once detached, any changes you make to the pattern on the page will not affect it anywhere else on the site. Here&#8217;s how:<\/p>\n\n\n\n<p><strong class=\"myprefix-text-bold\">How to detach a synced pattern<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click the contextual menu for your block in the three dots<\/li>\n\n\n\n<li>Click <strong class=\"myprefix-text-bold\">Detach patterns<\/strong><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"835\" src=\"https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2024\/02\/CleanShot-2024-02-07-at-14.06.28@2x-1024x835.png\" alt=\"Detach a pattern\" class=\"wp-image-2832\" style=\"width:450px;height:auto\" srcset=\"https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2024\/02\/CleanShot-2024-02-07-at-14.06.28@2x-1024x835.png 1024w, https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2024\/02\/CleanShot-2024-02-07-at-14.06.28@2x-320x261.png 320w, https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2024\/02\/CleanShot-2024-02-07-at-14.06.28@2x-512x417.png 512w, https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2024\/02\/CleanShot-2024-02-07-at-14.06.28@2x-768x626.png 768w, https:\/\/carleton.ca\/cutheme-docs\/wp-content\/uploads\/sites\/2\/2024\/02\/CleanShot-2024-02-07-at-14.06.28@2x.png 1038w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\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\/l2qcSaWto7I\" 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-using-patterns\">\n                <span class=\"flex-1 ml-auto text-left break-words whitespace-normal cu-icon\">\n                    Transcript \u2013 Using Patterns\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-using-patterns\">\n            \n\n<p>Hello, and welcome to cuTheme Mastery Training, Module 6. In this video, we will go over using patterns on a page.<\/p>\n\n\n\n<p>So we\u2019ve gone over what a pattern is and how to create one, now it\u2019s time to see how we can place them on a page.<\/p>\n\n\n\n<p>First, go to the page you want the pattern used on. Open the block menu, go to \u201cPatterns\u201d, and select your pattern. I\u2019ll use this one here. Close the menu. and you will see your pattern on the page.<\/p>\n\n\n\n<p>Now, if your pattern is non-synced, then you can customize the content of the blocks in the pattern on your page without affecting other pages on your site.<\/p>\n\n\n\n<p>However, if you\u2019re using a synced pattern, any changes you make will be applied across the entire site.<\/p>\n\n\n\n<p>However, you can detach a synced block so that this doesn\u2019t happen, and the only changed blocks are the ones on your page.<\/p>\n\n\n\n<p>To detach a synced pattern, select your pattern, go to the three dots, and click \u201cDetach Patterns\u201d. Now, you are free to edit your pattern however you want without affecting the rest of your site.<\/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 pattern to a page, time to try it out!<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Create a new page and add your non-synced block pattern from the previous lesson.<\/li>\n\n\n\n<li>Modify some block content.<\/li>\n\n\n\n<li>Add a synced pattern.<\/li>\n\n\n\n<li>Detach the pattern.<\/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\/mastery\/module-6-block-patterns\/managing-patterns\/\">Next: Managing Patterns<\/a><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>In this module, you will learn how to add a block pattern to a page. This is a great way to build consistent content throughout your site. Step-By-Step 1. Add Block Pattern Go to the page where you would like your pattern to appear. Add your block pattern using the block menu. Once the menu [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":2769,"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-2813","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\/2813","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\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/carleton.ca\/cutheme-docs\/wp-json\/wp\/v2\/comments?post=2813"}],"version-history":[{"count":5,"href":"https:\/\/carleton.ca\/cutheme-docs\/wp-json\/wp\/v2\/pages\/2813\/revisions"}],"predecessor-version":[{"id":4248,"href":"https:\/\/carleton.ca\/cutheme-docs\/wp-json\/wp\/v2\/pages\/2813\/revisions\/4248"}],"up":[{"embeddable":true,"href":"https:\/\/carleton.ca\/cutheme-docs\/wp-json\/wp\/v2\/pages\/2769"}],"wp:attachment":[{"href":"https:\/\/carleton.ca\/cutheme-docs\/wp-json\/wp\/v2\/media?parent=2813"}],"wp:term":[{"taxonomy":"cu_page_type","embeddable":true,"href":"https:\/\/carleton.ca\/cutheme-docs\/wp-json\/wp\/v2\/cu_page_type?post=2813"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}