Introduction
This tutorial explains how to add Posts to a page. By adding the "Post Type Group" (also referred to as a "Post Browser") element to your page, you can list the posts from a your chosen Post Type(s), and also include display and filtering options.
Note: For newly created Post Types, a Post Type Group containing the new Post Type must be added to the "default page" selected when creating the Post Type.
- Step 1 - Add a Post Type Group
-
Begin by clicking the "Pages" tab, located in Digital Bell's top menu. Next, locate the page where you would like to place the Post Type Group and click the Edit button (pencil icon) to the left of the title. This will bring you to the page's content editor.
Here, click the "Post Types" link, located under "Add Content" in the right sidebar. This will add a Post Type Group to the page.
At the bottom of the new Post Type Group, click the "+Existing Post Types" button, as seen below.
Locate the "Select Post Type" section, then click to select the Post Type(s) to display. To select multiple Post Types, hold the Control ("Ctrl") key (or "Cmd" for Mac) while clicking. Once you have selected your Post Type(s), click the "Submit" button to add them to the group.
Return to Top - Step 2 - Adjust Settings (optional)
-
The "Settings" panel will allow you to change the way your posts are displayed. For example, you can change the way posts are sorted or select the number of posts to list.
Note: If you are updating an existing Post Type Group, begin by clicking the "Pages" tab in Digital Bell's top menu. Next, locate the title of the page that contains the Post Type Group (ex. School News), then click the Edit button (pencil icon) to view the content editor.
Begin by locating the Post Type Group in the content editor, then click the "Settings" button in the top right corner. This will bring up the settings menu, which includes five separate tabs: Display Options, Labels, Features, Variables, and Layout. Each tab and it's options are described in detail below.
Note, some websites may display fewer options for Posts, while others may have had extra, custom designed settings added. If you require additional assistance with these settings, please contact support@gslsolutions.com.
Display Options
Below is a list of the fields you will see in your Post Type Group's Disply Options tab, along with descriptions of each setting.
Layout:
The "Layout" options allow you to change the Post Type Group's format. Selecting a different "Layout" will change the way your Posts are displayed on the public page, as described below. The default setting is "Browse by Month & Year."
Note, several layouts are image-based, and you will need to set the "Display Images?" option to "Yes," for the Gallery, Panels, Media, and Tiles layouts, in order to display the content correctly.
Template Placement:
This option determines which section of your page the Posts will be displayed on.
- The default "Template Placement" is "Main Body." This will display your Post Type Group within the central content area of your page.
- Selecting "Sidebar" will display the Post Type Group in the right (or left - depending on your specific site layout) margin of your page.
Display Group Title?:
The "Display Group Title?" option allows you to choose whether you would like the Group Title (which can be entered below "Post Type Group" in the Post Type Group's content block), to be visible to visitors.
Detail Page:This setting determines which page your Posts will be displayed on. Selecting the "Post Type Default Page" will redirect the visitor to the Post Type's selected "Default Page" which was selected in the Post Type's settings (Main Menu > Posts > Manage Post Types > Edit). Selecting "This Page" will display the Post on the page where the Post Type Group is located.
It is recommended to create a new page for each Post Type's "Default Page" that includes no other content besides the Post Type Group. That way, when a post is viewed, no other content will be present. If a page with existing content is set as the "Default Page," the post details will be shown along with any other content on the page (ex. Text Blocks, FAQs, etc.).Sort By:The "Sort By" option allows you to sort your Posts by Date Written, Date Uploaded, or alphabetically by Title.
Sort Order:
This option determines the order of your "Sort By" selection.For example: If you are sorting by "Date Written," selecting "Ascending" will display the newest Posts first, and "Descending" will display the oldest Posts first.
Items to Display:This option allows you to set the number of Posts that will be displayed in your Post Type Group. If you are using your Post Type Group as a calendar, this should be set to "All."
This option allows your visitors apply filters to the Posts in the Post Type Group. For example, by selecting the "Labels" filter, your visitors could filter calendar events by grade level or sports team - if the calendar entries have grade or team specific Labels attached to them."Default Set" filters by month and year.
If you have images attached to your Posts, this gives you the option to display them within the Post Type Group.
If you have chosen to display your images, this drop-down menu allows you to select the display size. "Thumbnail" displays a small 100x100 pixel image. "Featured" displays a larger 600x400 pixel image. The default option for this setting is "Thumbnail."
This option allows you to select whether the date of the Post is visible to visitors. The default option is "Yes."
This option allows you to select whether the exact time the post was published is visable. The default option is "No."
- Finish
-
Once you have selected the appropriate layout and settings, click the "Submit" button to complete the process.
Return to Top
Example Layout
Browse by Month & Year
This is an example of a "Browse by Month & Year" Post Browser. This layout creates a list of Posts, sorted by date, with additional label filtering options available.