Saltar navegación

[Resuelto] Sorting by letters and numbers – put together in groups

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

Problem:

A user asked how to show the list of posts from a post view, grouped by the starting letter or number.

Solution:

Shared the steps to create a post view that also uses custom CSS and JS code for this grouping.

Relevant Documentation:

n/a

100% of people find this useful.

This support ticket is created hace 3 años, 3 meses. 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 -

Zona horaria del colaborador: Asia/Karachi (GMT+05:00)

Este tema contiene 16 respuestas, tiene 2 mensajes.

Última actualización por kristenM hace 3 años, 2 meses.

Asistido por: Waqar.

Autor
Mensajes
#2329541

I've performed some research and this ordering of Danish characters is related to WordPress and database collation type.

You'll need to change the database collation type to "utf8_danish_ci", as it worked for another client, having the same challenge:
https://toolset.com/forums/topic/filter-order-by-name/

Note: Please make a complete backup copy of the website, before making any changes to the database.

Here are some useful guides on the topic:
https://codex.wordpress.org/Converting_Database_Character_Sets
https://wordpress.org/support/article/editing-wp-config-php/#database-character-set

#2329701

My issue is resolved now. Thank you!