Skip Navigation

[Resolved] Set limit of post displaying inside a loop in View, for mobile device.

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

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Shane 3 years ago.

Assisted by: Shane.

Author
Posts
#2006401
Mobile devices.png
For Desktop.png
dddd.png

How can we set limit of post displaying inside a loop in View, for mobile device?
There is default option to set limit but no option for mobile device. So is there any filter or hook which we can use?
I have set 3 posts per page currently so it is looking good for desktop but in mobile it is looking very weird. Could you please help?

#2006517

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Ankit,

Thank you for getting in touch.

Unfortunately no this won't be possible to change the limit per mobile/desktop setup in a single view.

What you can do however is create 2 identical views where one will be for mobile and the other for desktop.

From there if your page builder supports the hiding of content are for mobile/desktop setup then you can add the Desktop version in one area and the mobile version in the same are but set the block to Hide the desktop version on Mobiles and vice-versa.

This can be done with the wordpress gutenburg editor, so you have the option of using this if your page builder doesn't support it. However the gutenburg editor will need to be used to design the entire page.

Please let me know if this helps.
Thanks
Shane

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.