Managing popular versus recent content
The second block of content that we need to create for our Blog listing page is a little more complex to build and will provide us with experience of building and combining multiple views into a single view.
Creating our recent posts block
Our recent posts block will be a view that contains a listing of three of the most recent posts added to our site. We will take advantage of the Teaser display mode of our Post content type to present our view block.
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:
Recent Posts
.Check the Description box.
Description:
A listing of recent posts
.
VIEW SETTINGS: Show: Content of type: Post sorted by: Newest first.
BLOCK SETTINGS:
Check Create a block.
Block title: Recent Posts.
BLOCK DISPLAY SETTINGS:
Display format: Unformatted list of: Teasers.
Items per block:
3
...