Skip Navigation

[Resolved] Limit the number of posts returned in a Views loop while using Block view

This thread is resolved. Here is a description of the problem and solution.

Problem:
Limit the number of posts returned in a Views loop while using Block view

Solution:
When you click on your view block from the block navigation, for Toolset view block on right sidebar you will see the tabs for controlling the pagination and number of items to display. You can set it and control the settings from there.

Relevant Documentation:
=> https://toolset.com/course-lesson/creating-a-custom-search/

This support ticket is created 3 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 2 replies, has 2 voices.

Last updated by CeliaK6587 3 years, 1 month ago.

Assisted by: Minesh.

Author
Posts
#2321325

Good Morning,

Using Blocks, I'm attempting to display a grid of 6 random posts (featured images that link to the post) from a custom post type without displaying any type of pagination or sorting. Just a grid of 6 random images in a row that link to their post. I can create a view that has 6 columns but without pagination enabled, it displays ALL of the posts and without sorting enabled, it gives them to me in post date order.

Below "Recent Additions to RtM" I'm trying to add a stripe of "Random Books on RtM" so that not only new books/posts get all the attention. hidden link

Any help is appreciated!

Thanks!

#2322497

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

When you click on your view block from the block navigation, for Toolset view block on right sidebar you will see the tabs for controlling the pagination and number of items to display. You can set it and control the settings from there. Please check the following screenshot: hidden link

#2326785

My issue is resolved now. Thank you!