Saltar navegación

[Cerrado] Column value not shown on WordPress Admin

This support ticket is created hace 1 año, 2 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.

Este tema contiene 3 respuestas, tiene 2 mensajes.

Última actualización por Christopher Amirian hace 1 año, 2 meses.

Asistido por: Christopher Amirian.

Autor
Mensajes
#2695254
Screenshot 2024-05-01 at 11.25.57 PM.png
Screenshot 2024-05-01 at 11.26.25 PM.png
Screenshot 2024-05-01 at 11.26.49 PM.png
Screenshot 2024-05-01 at 11.27.56 PM.png

Dear Sir/Madam,

I have two custom fields in select and number field format and both value may be 0, when value is 0, the value didn't be showed on column on WordPress Admin, please help to explain why.

#2695285

Christopher Amirian
Colaborador

Idiomas: Inglés (English )

Hi there,

This is how WordPress handles the 0 values when it comes to the custom fields. It adds the null value for the item and saves it in the database.

Thanks.

#2695346

How can I force the value be saved to database instead of null or how can I customise the display to the column ?

#2696073

Christopher Amirian
Colaborador

Idiomas: Inglés (English )

Hi there,

you can not change the value in database but you can create a custom code that turns a null value to 0 for example, but Toolset does not have such a functionality.

I made a Google search that might help you find a code to do that:

enlace oculto

Alternatively you can hire a developer to do that for you:

https://toolset.com/contractors/

Thanks.

El debate ‘[Cerrado] Column value not shown on WordPress Admin’ está cerrado y no admite más respuestas.