Skip Navigation

[Résolu] Language select filter inside a view

This support ticket is created Il y a 3 années. 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.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

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/Karachi (GMT+05:00)

Ce sujet contient 1 réponse, a 2 voix.

Dernière mise à jour par Waqar Il y a 3 années.

Assisté par: Waqar.

Auteur
Publications
#2217613

Hello,

How can I add a language filter (select) to a view that lists posts?

I'm using WPML.

#2218119

Hi,

Thank you for contacting us and I'd be happy to assist.

I'm afraid, the way Toolset views and WPML post translations work, I can't think of any safe customization or workaround to make this work.

By default, WPML only shows the posts in the view's results that are in the same language that is currently set. A simpler and safer workaround can be to place the WPML's language switcher closer to the view's output and add a note that to see posts in the different languages, you can see this page in the desired language.

regards,
Waqar