Saltar navegación

[Resuelto] Conditional output does not work with Divi

This support ticket is created hace 5 años, 11 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 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Etiquetado: 

Este tema contiene 5 respuestas, tiene 2 mensajes.

Última actualización por Shane hace 5 años, 11 meses.

Asistido por: Shane.

Autor
Mensajes
#1193678

Pat

Hello,

I'm trying ti use Toolset in conjunction with Divi theme and found an issue.
When you are using Divi builder and you want to use a conditional output, then the builder does not keep the conditional shortcodes at their place, but place them in the beginning of the bloc, without embracing the condition result.
As a matter of fact, the condition is not working.
Could you test and tell me if there something special to use for that?
Regards
Pat

#1193839

Shane
Supporter

Idiomas: Inglés (English )

Zona horaria: America/Jamaica (GMT-05:00)

Hi Pat,

Thank you for contacting our support forum.

Would you mind providing me with access to the page where this issue is occurring so that I can have a look ?

Thanks,
Shane

#1193875

Pat

Hi Shane,
Unfortunately not as this is only for test right now.

I think you should be able to reproduce it quite easily as you just have to define a content template with Divi (in fact, you create a content template with Toolset and request the Divi builder to create the different blocs inside).
Then, in a text bloc, just add a custom field thanks to Views shortcode and place a conditional output around this shortcode.
Save and come back again and you should see the conditional output is no more around the Views shortcode, but before it.

As Toolset and Divi have common development, you should be able to have a Divi theme available in order to make this test.

Regards
Pat

#1194459

Shane
Supporter

Idiomas: Inglés (English )

Zona horaria: America/Jamaica (GMT-05:00)

Hi Pat,

I tested this on a local install I have with divi as per your instructions and the conditionals work fine for me.

Are you able to provide a copy of the site itself so that I can take a look ?

To provide the copy have a look here.

https://toolset.com/faq/provide-supporters-copy-site/

Thanks,
Shane

#1194930

Pat

Hi Shane,

Let me try again with a fresh install and I will come back to you if I still have the issue.
Regards
Pat

#1195422

Shane
Supporter

Idiomas: Inglés (English )

Zona horaria: America/Jamaica (GMT-05:00)

Hi Pat,

Please update me with your findings when ready.

Thanks,
Shane