{"id":16358372,"date":"2023-08-08T10:03:00","date_gmt":"2023-08-08T10:03:00","guid":{"rendered":"https:\/\/wordpress.org\/documentation\/?post_type=helphub_article&p=16358372"},"modified":"2023-12-05T10:31:01","modified_gmt":"2023-12-05T10:31:01","slug":"site-editor-patterns","status":"publish","type":"helphub_article","link":"https:\/\/wordpress.org\/documentation\/article\/site-editor-patterns\/","title":{"rendered":"Site Editor Patterns"},"content":{"rendered":"\n

Since WordPress version 6.3, it is possible create and manage your site’s Patterns and template parts<\/a> via the Site Editor’s sidebar. You can learn about the Site Editor in this support article: Site Editor<\/a>.<\/p>\n\n\n\n

The Site Editor Patterns menu is only<\/strong> available when you install and activate a Block theme<\/a> on your site.<\/p>\n\n\n\n

Working with patterns<\/h2>\n\n\n\n

Navigate to Appearance > Editor > Navigation<\/strong> to access your Patterns and template parts.<\/p>\n\n\n\n

\"Notice
Looking for template parts? Find them under “Patterns”.<\/figcaption><\/figure>\n\n\n\n

My patterns<\/h2>\n\n\n\n

The first item in the Patterns section is My patterns<\/strong>. This section lists all the custom patterns you added to your site yourself. They can be filtered by Synced<\/strong><\/a> or Standard<\/strong> (non-synced).<\/p>\n\n\n\n

If you have a lot of Patterns, the Command Palette<\/strong> is another great find them. Learn more about the Command Palette here<\/a>.<\/p>\n\n\n\n

If you click on the Actions<\/strong> (ellipsis) button next to each pattern, you will see options to rename, duplicate or delete that pattern.<\/p>\n\n\n\n

\"Contextual<\/figure>\n\n\n\n

You can edit any pattern just by clicking on the pattern itself, on the right-hand side of your screen.<\/p>\n\n\n\n

Theme patterns<\/h2>\n\n\n\n

Underneath My patterns, you can find regular patterns that come bundled with your theme. These patterns cannot be edited directly<\/strong>. Instead, you can click on the Actions<\/strong> (ellipsis) button and click Copy to My patterns<\/strong> to create an editable copy of that pattern. This copy will be listed under My patterns<\/strong>.<\/p>\n\n\n\n

\"Contextual<\/figure>\n\n\n\n

Template parts<\/h2>\n\n\n\n

The next type of pattern you will find are Template parts<\/strong>. Template parts are included with block themes<\/strong> and are typically used on multiple templates across your site.<\/p>\n\n\n\n

If you click on the Actions<\/strong> (ellipsis) button, you will see an option to duplicate<\/strong> that Template part and a second option to clear customizations<\/strong>. If you choose this option, the Template part will be reset to the content, layout, and styles it had when you block theme was first installed. <\/p>\n\n\n\n

Finally, you can edit the Template part by clicking on it directly. <\/p>\n\n\n\n

\"Contextual<\/figure>\n\n\n\n

Create new patterns<\/h2>\n\n\n\n

There is a create patterns<\/strong> (+<\/strong>) icon next to the Patterns sidebar title you can click on to create new patterns. If you click on it, you will see two options: Create pattern <\/strong>and Create template part<\/strong>.<\/p>\n\n\n\n

\"Plus<\/figure>\n\n\n\n

You can learn more about the difference between Patterns and template parts here<\/a>.<\/p>\n\n\n\n

Manage all patterns and template parts<\/h2>\n\n\n\n

There are two links at the bottom of the Site Editor Pattern section: <\/p>\n\n\n\n

    \n
  • Manage all my patterns<\/li>\n\n\n\n
  • Manage all template parts<\/li>\n<\/ul>\n\n\n\n
    \"Link<\/figure>\n\n\n\n

    If you click on them, you will be redirected to an wp-admin view. This view can be convenient if you want to import patterns or apply bulk actions. <\/p>\n\n\n\n

    \"Patterns<\/figure>\n\n\n\n

    Changelog<\/h2>\n\n\n\n
      \n
    • Updated 2023-08-24\n
        \n
      • Updated formatting<\/li>\n\n\n\n
      • Updated category and subcategory<\/li>\n\n\n\n
      • Fixed some typos<\/li>\n<\/ul>\n<\/li>\n\n\n\n
      • Created 2023-08-08<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"

        Since WordPress version 6.3, it is possible create and manage your site’s Patterns and template parts via the Site Editor’s sidebar. You can learn about the Site Editor in this support article: Site Editor. The Site Editor Patterns menu is only available when you install and activate a Block theme on your site. Working with […]<\/p>\n","protected":false},"featured_media":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","category":[80,94],"class_list":["post-16358372","helphub_article","type-helphub_article","status-publish","hentry","category-customization","category-site-editor"],"revision_note":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/articles\/16358372","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/articles"}],"about":[{"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/types\/helphub_article"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/comments?post=16358372"}],"version-history":[{"count":15,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/articles\/16358372\/revisions"}],"predecessor-version":[{"id":16359266,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/articles\/16358372\/revisions\/16359266"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/media?parent=16358372"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/category?post=16358372"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}