What's inside this article:
- Create a widget
- About Auto mode
- Add the widget content
- Pin an item to the widget
- Hide an item on the widget
- Further recommendations
Create a widget
This article explains how to add items to a widget with Auto mode enabled. The information applies for creating the following widgets:
About Auto mode
With Auto mode enabled, Pangea CMS automatically populates the widget according to the criteria you define in the widget settings.
Below are examples of possible widget configurations using Auto mode:
- Display the latest items from a particular Category.
- Display the latest items from a particular content type (such as Videos).
- Display the latest items that are assigned a particular Tag.
Older items are automatically replaced on the widget as new content is published, with no action required from you.
Add the widget content
To add the widget content in Auto mode, ensure Auto is selected in the Content section of the widget settings.
Define which items will be promoted on the widget using the options below:
Enter the maximum number of items that the widget will display. The highest number you can enter is 20.
For example, if you enter 5, the widget will promote 5 items (if 5 items are available that match your defined criteria). If 5 valid items are not available, the widget will promote fewer than 5 items.
Publication date limit
Enter a time period in days. The widget will only promote items that were published during the specified time period. The highest number you can enter is 360.
For example, if you enter 10, the widget will only promote items published in the last 10 days.
Optionally select a number of valid items that will be excluded and not promoted on the widget.
For example, if you select Exclude first 2 items, the widget will not promote the two most recent valid items. This option is useful if the most recent valid items are already promoted elsewhere.
Optionally select one or more Categories. The widget will only promote an item that comes from one of the selected Categories. If you don't select a Category, the widget might promote valid items from any Category.
For example, if you select the Category Armenia, only items from the Armenia Category will be promoted on the widget.
Primary category only
If you enable Primary category only, the widget will only promote an item that uses one of the selected Categories as its Primary category.
For example, if this option is enabled when the Category Armenia is selected, only items that use Armenia as the Primary category will be promoted on the widget. The widget will not promote items that use Armenia as a Secondary category.
Optionally select one or more content types. The widget will only promote the selected content type(s).
The Content type menu includes only content types that are valid for the type of widget you are editing:
- Content widget: All content types
- FactCheck widget: FactCheck only
- Multimedia widget: Audio clip, Audio feature, Broadcast program, and Video
- Poll widget: Poll only
If you don't select a content type, the widget might promote any valid content types.
Optionally select one or more Tags. The widget will only promote items assigned one of the selected Tags. If you don't select a Tag, the widget might promote any valid items, without considering Tags.
After configuring the settings above, hit Update to check which items currently meet the defined criteria.
Pin an item to the widget
When Pin is enabled for an item:
- You can manually change the position of the item (use the drop-down menu or drag and drop the box).
- The item will not be removed from the widget.
- The position of the item will not change as new content is added to the widget.
If you want to change the position of an item, but you don't want the item to be permanently pinned on the widget, disable Pin after setting the item's position.
Hide an item
If you don't want to promote an item on the widget, enable the Hide slider. When Hide is enabled, the item is not visible on the widget. The next valid item appears at the bottom of the widget to replace the hidden item.
The following articles might be helpful: