diff --git a/docs/guides/global-section.md b/docs/guides/global-section.md new file mode 100644 index 00000000..0c8ab019 --- /dev/null +++ b/docs/guides/global-section.md @@ -0,0 +1,50 @@ +--- +title: Global Section +description: Learn how to create and reuse global sections in your Weaverse theme. +publishedAt: May 31, 2024 +updatedAt: Jun 7, 2024 +order: 9 +published: false +--- + +**Global Sections** in Weaverse empower you to create and reuse sections across multiple pages and components. This feature enhances the organization and structure of your theme’s content, making maintenance and updates more efficient. + +In this guide, we’ll explore how to create, use, and customize global sections in your Weaverse theme. + +## Creating a Global Section + +Creating a global section in Weaverse is straightforward. Follow these steps: + +1. Create a new section. +2. Select the section. +3. In the toolbar, click the "Save as Global Section" button. +4. Name your section and save it. + +![Save as Global Section](https://cdn.shopify.com/s/files/1/0838/0052/3057/files/save_as_global_section.png?v=1717750409) +![Name Global Section](https://cdn.shopify.com/s/files/1/0838/0052/3057/files/name_global_section.png?v=1717750427) + +## Using a Global Section + +After creating a global section, you can easily incorporate it into your theme: + +1. Open the Global Sections Modal in the top left corner of the page editor. +2. Select the desired global section. +3. Click "Add to Page." + +![Open Global Section Modal](https://cdn.shopify.com/s/files/1/0838/0052/3057/files/open_global_section.png?v=1717750442) +![Global Section Modal](https://cdn.shopify.com/s/files/1/0838/0052/3057/files/global_section_list.png?v=1717750452) + +_Note: Only one global section can be used per page._ + +## Customizing a Global Section + +Customizing a global section is similar to editing a regular section. You can: + +- Add, edit, and delete fields. +- Add and remove components. + +Changes will sync across all pages and components that use the global section. + +## Conclusion + +Global sections are a robust feature of Weaverse, allowing you to efficiently manage and update your theme's content by reusing sections across multiple pages. Follow these steps to leverage global sections in your Weaverse theme and enhance your workflow. diff --git a/templates/pilot b/templates/pilot index 0c8030c0..e974477f 160000 --- a/templates/pilot +++ b/templates/pilot @@ -1 +1 @@ -Subproject commit 0c8030c009836367f6189794eefa417c4663f5d3 +Subproject commit e974477f7d473fdccb0c7cf58f400ec0a0772ba8