-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
51 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |
Submodule pilot
updated
46 files