Creating a Categories block
The content of each of our posts has been assigned one or more tags to identify what category the post belongs to. This type of identification gives our end users another way to easily navigate content. On our mockup, the right-hand sidebar contains a custom block with an unordered list of categories. We will utilize views to create a block display of taxonomy terms by following these steps.
To get started, we will need to navigate to /admin/structure/views
and click on the Add new view button. From the Views admin screen, we will add the following information:
VIEW BASIC INFORMATION:
View name:
Categories
.Check the Description box.
Description:
Post categories
.
VIEW SETTINGS: Show: Taxonomy terms of type: Tags sorted by: Unsorted.
BLOCK SETTINGS:
Check Create a block.
Block title: Categories.
BLOCK DISPLAY SETTINGS:
Display format: Unformatted list of: Fields.
Items per block:
5
.Click on the Save and edit button.
Now that our Categories view has been created, we...