Search for “News” in the Block search and select one of the following news blocks.
News by Category/Tag
The News by Category/Tag block allows editors to pull in pages, posts or external links on their website that have a specific category or tag. For example, if all the posts that are announcements are categorized as “Announcements,” a section can be created on this page by adding a news block with the category “Announcements”. Multiple categories and tags can be pulled into one News section. In the Georgetown Drupal Template, this corresponded to the Tag Based List.
How to add and configure News by Category/Tag
Add the News by Category/Tag block from the blocks list.
In the Inspector Panel on the right side of the page editor, the Block options will appear. In the “Taxonomy Options” section, choose either to pull in either a “tag” or “category”. In the “Select category” field search for and select the category/tag. All changes in the taxonomy section should appear immediately in the editor.To customize the appearance of the news articles, use the “Display Options” section. Specify the orientation of the news articles (Vertical, Horizontal, or Magazine) in the layout field. Specify the number of posts seen, and how they should be sorted (By date or alphabetically). At the bottom of the section, customize the appearance of the news articles by enabling the date of the post, the excerpt of the post and/or the category or tag of the post. The title and featured image will always display for Category/tag news items.
News by RSS
The News by RSS block allows editors to pull in external pages. Any page that creates news stories also creates an RSS. In the Georgetown Drupal Template, this corresponded to the Main Syndicated Content.
How to add and configure News by RSS
Open a “News by RSS” block to insert an RSS Feed
Enter the URL for the feed into the corresponding field in the RSS Options section of the block editor and specify the number of posts listed.
Customize the appearance of the news articles in the “Display Options” section by choosing a block layout (horizontal, vertical or magazine), and enabling a featured image, a display date and/or an article excerpt.
The block within the page editor will not display a preview of the RSS feed, but it will still appear on the published page.
The Selected News block allows editors to choose specific posts, pages and external links from their site to display in the news section. If you used the Georgetown Drupal template, this corresponds to Main Related Content.
How to add and configure Selected News
Add a “Selected News” block to from the blocks list
To add pages, posts or external links, in the “Posts” section of the block editor, search for the desired title in one of the four the search bars.
Select the post, page or external link you wish to display. Once a post/page is selected, the title will appear below the search field.
Customize the appearance of the news articles in the “Display Options” section by choosing a block layout (horizontal, vertical or magazine), and enabling a display date, an article excerpt and/or a category.
There are three block layout options for all of the News blocks, Horizontal, Vertical and Magazine.