Sauter la navigation

[Résolu] List of IDs as view input

Ce fil est résolu. Voici une description du problème et la solution proposée.

Problem:

Output post IDs as comma separated string.

Solution:

You can generate it using Views GUI, see screenshot:

https://toolset.com/wp-content/uploads/2019/07/toolset-views-loop-wizard-layout-options.png
option "List with separators"

Relevant Documentation:

https://toolset.com/documentation/user-guides/views/view-layouts-101/

This support ticket is created Il y a 4 années et 9 mois. 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

Marqué : ,

Ce sujet contient 16 réponses, a 2 voix.

Dernière mise à jour par nicolaS-3 Il y a 4 années et 8 mois.

Assisté par: Luo Yang.

Auteur
Publications
#1653573

Q1) is it the filter to act as select DISTINCT, correct ?
Yes, the filter acts as select DISTINCT

Q2) Above codes was generate using Views GUI, see document:
https://toolset.com/documentation/user-guides/views/view-layouts-101/
screenshot:
https://toolset.com/wp-content/uploads/2019/07/toolset-views-loop-wizard-layout-options.png
option "List with separators"

Q3) There isn't any limitation for the IDs passed.
But since it is using 3 nested views, there might be some performance problem, you will need to increase your server limitation:
https://wordpress.org/support/article/editing-wp-config-php/#increasing-memory-allocated-to-php

#1653941

My issue is resolved now. Thank you!