Hello,
I have created a content template that generates a table. I need to add a conditional on the th outside the loop so that only when the related fields of the loop with that th have content the corresponding th is displayed.
I can't generate a conditional that does it. This is the code:
Or you can create a shortcode that should return true if value is present for that custom field and use that cusotm shortcode with your conditional statement.
Can you please share problem URL and admin access details and let me see if I can able to share any workaround.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
It is an elementor saved template called "FORMACIÓN – Listado de cursos".
You can view the results on the front end in any of the "ESTUDIOS" listed in the menu.
Something very strange is happening to me. In the site where you have generated the js in the view it works, but when I move it to the final site it doesn't work. I have copied and pasted all the content of the view.
I will have to check whats going wrong there and for that I will require your live site access details.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
I have a question about the code you generated. I have been asked to remove the last tr and td from the table. When I delete it, the js code that I added to you stops working. I have tried to see how I could modify it, but impossible. even when I modify the conditional of those fields it stops working.