Skip Navigation

[Resolved] Items per Page Limit via Shortcode Param?

This support ticket is created 3 years, 3 months 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.

This topic contains 2 replies, has 2 voices.

Last updated by lotharK 3 years, 3 months ago.

Author
Posts
#2175831

Hello!
I have a view that I would like to use on both the start page and on a subpage.
It should display 3 items on the start page and 12 on the subpage AND it should have pagniation both on the home page and on the subpage.
Since the number of paginated items is the only difference, can i set the items per page information via a shortcode parameter?
(The "limit" parameter obviously doesn't work along with pagination.)

Thanks and best regards

#2175969

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

When inserting a View you can override several settings, but the pagination settings is not one of them.

(You can override offset, limit, orderby and order settings.)

So in this case you would need to duplicate the View, and edit the copy to change the pagination settings as required.

#2175975

Thank you for your prompt reply!
Have a nice day.