[Resuelto] Add custom field value to View Loop item contener
This support ticket is created hace 2 años, 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.
Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.
Note the last custom field that says PO Status – values from this field I'd like to use as classes.
PS. Please note how bad looks the view in a Table format when previewed in Gutenberg, and when there are more than the default amount of rows. I guess you need to address this issue separately as well. It's quite annoying. I planned to report it, but it never turned into a show stopper for me, but since now we're at it - it's worth mentioning the issue as well.
As you are using the block view - there is no way to adjust the table row class using the custom field value.
The workaround would be if you go with classic view there you will have more control on output as you can adjust the HTML code and assign the dynamic custom field values using row.
PS. Please note how bad looks the view in a Table format when previewed in Gutenberg, and when there are more than the default amount of rows. I guess you need to address this issue separately as well. It's quite annoying. I planned to report it, but it never turned into a show stopper for me, but since now we're at it - it's worth mentioning the issue as well.
==>
We know that and the GUI is not that so impressive for the table based view. We will try to improve that but in future and there is no ETA on it.
Do you have a plan on turning off support for the classic views? Is it safe to use for a project that is planned to last for another 5 years or so?
==>
We are not going to stop supporting classic views so you should use it without any concerns.