What exactly are Global Sections? #
This is a feature we have developed to allow embeddable content with a “single source of truth”.
They depend on Elementor Page Builder, so make sure you have it installed already.
Types of Global sections: #
Global sections can be used for any type of content such as:
- Site Header (how to create headers)
- Site Footer (how to create footers)
- Covers (top banners) (how to create page covers)
- Generic sections (how to create generic sections)
- Mega menu content (how to create mega menu global sections)
To create a Global section, access Rey theme > Global section and click on Add new.
Assigning Global Sections on the entire site #
This can be done by accessing Customizer > General Settings > Global sections. Please note that only “Generic” sections can be assigned.
After you created a Generic Global Section, you will need to select it and its position in the site eg https://d.pr/i/Xw1zDF .
Assigning a Global Section on a specific page/archive #
Simply edit the page you want and look for the Advanced tab of the “Singular Settings” panel eg https://d.pr/i/MMM8wP .
Adding Global Section anywhere with shortcode #
You can publish a Global section by adding a shortcode where you want. To find the shortcode, please access in the backend Templates > Global sections and look at the Shortcode column. You will find the autogenerated shortocode.
Exporting a Global section #
There are two ways of exporting a global section. One is to just hover over the item table and locate the Export button ex: https://d.pr/i/FupxY0 .
The alternative is to open it in Elementor editor, click on the Templates button , Save it as a Template and then export it. Here’s a quick video recording https://d.pr/v/6mgxgF .
Importing a Global section #
Importing a Section can be done in Elementor editor in the Templates library > Import > Select JSON.