What's inside this article:
- Basic information
- Build a new widget
- Choose the layout
- Add content
- Add a custom widget name
- Add connected Categories
- Set the status and save the widget
Basic information
A Slide-in widget slides in at the bottom of a content page after a visitor starts scrolling.
One Slide-in widget might be connected to multiple Categories. The Slide-in widget appears on content pages from each connected Category.
Build a new widget
To start building a new Slide-in widget:
- Go to Build > Slide-in widgets in the primary navigation.
- Hit + Add new.
The widget builder opens in the same tab. The remaining sections in this article will walk you through each stage of the process.
Choose the layout
In the Layout section, you can customize the widget layout.
By default, each Slide-in widget displays a title and a horizontal image.
Optionally select one additional element to display on the widget:
- Category: The name of the Primary Category for the promoted item. The Category name functions as a link to the Category page.
- Label: A custom label. Labels are commonly topics (such as "Politics" or "Sport") that help categorize the content on your site. You can add a label in the Widget teaser or Website teaser settings for the item.
- Exact time: The exact publication time (such as "12:30"). The format varies, according to your site configuration.
- Relative time: The relative publication time (such as "20 minutes ago"). After some time, the relative time stamp changes to an exact time stamp. The precise behavior varies, according to your site configuration.
Add content
In the Content section, choose which content is promoted on the widget.
First, select your preferred mode. The mode controls how the widget content is added and updated. The following options are available for a Slide-in widget:
- Auto: The widget will always promote the latest item that meets the widget rules (defined in Pangea CMS). When a new item is published that meets the widget rules, the widget updates automatically. For example, you might create a widget that always promotes the latest Article from a particular Category.
- Manual: The item on the widget is selected manually. If desired, you can edit the teaser. The widget might also include a custom item (a link to any URL). The item will not be replaced, unless the widget is manually updated.
For more information about your preferred mode, see the relevant article below:
Add a custom widget name
Via Settings > Widget name, optionally customize the default widget name.
The Widget name is visible only in Pangea CMS (not on the public site). We suggest providing a descriptive name if your site uses the Widget list tool in CMS to manage widgets.
Add connected Categories
One Slide-in widget might have multiple connected Categories. The Slide-in widget appears on content pages from each connected Category.
Via Settings > Categories, connect the Slide-in widget to one or more Categories. You cannot select a Category that already has a connected Slide-in widget. This is because each Category can have only one connected Slide-in widget.
Set the status and save the widget
Before saving the Slide-in widget, select your preferred status using the drop-down menu in the top-right corner:
- Enabled: After you save the widget, it will be immediately visible on the public site (if it is connected to a Category).
- Disabled: After you save the widget, it will not be visible on the public site. However, it will be available for further editing in CMS.
Select Save or Save & close to save the widget.