Hello, I insert this in Elementor or DIvi (WYSIWYG-Edior in Textmode)
--------code-------------
<table id="" class="timetable">
<tr class="">
[wpv-conditional if="( $(wpcf-timeframe-01) != '' )" ]<td class="column-1">[types field='timeframe-01'][/types]</td>[/wpv-conditional]
[wpv-conditional if="( $(wpcf-timeframe-02) != '' )" ]<td class="column-1">[types field='timeframe-02'][/types]</td>[/wpv-conditional]
[wpv-conditional if="( $(wpcf-timeframe-03) != '' )" ]<td class="column-1">[types field='timeframe-03'][/types]</td>[/wpv-conditional]
[wpv-conditional if="( $(wpcf-timeframe-04) != '' )" ]<td class="column-1">[types field='timeframe-04'][/types]</td>[/wpv-conditional]
[wpv-conditional if="( $(wpcf-timeframe-05) != '' )" ]<td class="column-1">[types field='timeframe-05'][/types]</td>[/wpv-conditional]
[wpv-conditional if="( $(wpcf-timeframe-06) != '' )" ]<td class="column-1">[types field='timeframe-06'][/types]</td>[/wpv-conditional]
[wpv-conditional if="( $(wpcf-timeframe-07) != '' )" ]<td class="column-1">[types field='timeframe-07'][/types]</td>[/wpv-conditional]
[wpv-conditional if="( $(wpcf-timeframe-08) != '' )" ]<td class="column-1">[types field='timeframe-08'][/types]</td>[/wpv-conditional]
[wpv-conditional if="( $(wpcf-timeframe-09) != '' )" ]<td class="column-1">[types field='timeframe-09'][/types]</td>[/wpv-conditional]
[wpv-conditional if="( $(wpcf-timeframe-10) != '' )" ]<td class="column-1">[types field='timeframe-10'][/types]</td>[/wpv-conditional]
</tr>
<tr class="">
[wpv-conditional if="( $(wpcf-price-01) != '' )" ]<td class="column-2">[types field='price-01'][/types]</td>[/wpv-conditional]
[wpv-conditional if="( $(wpcf-price-02) != '' )" ]<td class="column-2">[types field='price-02'][/types]</td>[/wpv-conditional]
[wpv-conditional if="( $(wpcf-price-03) != '' )" ]<td class="column-2">[types field='price-03'][/types]</td>[/wpv-conditional]
[wpv-conditional if="( $(wpcf-price-04) != '' )" ]<td class="column-2">[types field='price-04'][/types]</td>[/wpv-conditional]
[wpv-conditional if="( $(wpcf-price-05) != '' )" ]<td class="column-2">[types field='price-05'][/types]</td>[/wpv-conditional]
[wpv-conditional if="( $(wpcf-price-06) != '' )" ]<td class="column-2">[types field='price-06'][/types]</td>[/wpv-conditional]
[wpv-conditional if="( $(wpcf-price-07) != '' )" ]<td class="column-2">[types field='price-07'][/types]</td>[/wpv-conditional]
[wpv-conditional if="( $(wpcf-price-08) != '' )" ]<td class="column-2">[types field='price-08'][/types]</td>[/wpv-conditional]
[wpv-conditional if="( $(wpcf-price-09) != '' )" ]<td class="column-2">[types field='price-09'][/types]</td>[/wpv-conditional]
[wpv-conditional if="( $(wpcf-price-10) != '' )" ]<td class="column-2">[types field='price-10'][/types]</td>[/wpv-conditional]
</tr>
</table>
------------end----------------
and after save and reopen I got this
-----------------code---------------
[wpv-conditional if="( $(wpcf-timeframe-01) != '' )" ][/wpv-conditional]
[wpv-conditional if="( $(wpcf-timeframe-02) != '' )" ][/wpv-conditional]
[wpv-conditional if="( $(wpcf-timeframe-03) != '' )" ][/wpv-conditional]
[wpv-conditional if="( $(wpcf-timeframe-04) != '' )" ][/wpv-conditional]
[wpv-conditional if="( $(wpcf-timeframe-05) != '' )" ][/wpv-conditional]
[wpv-conditional if="( $(wpcf-timeframe-06) != '' )" ][/wpv-conditional]
[wpv-conditional if="( $(wpcf-timeframe-07) != '' )" ][/wpv-conditional]
[wpv-conditional if="( $(wpcf-timeframe-08) != '' )" ][/wpv-conditional]
[wpv-conditional if="( $(wpcf-timeframe-09) != '' )" ][/wpv-conditional]
[wpv-conditional if="( $(wpcf-timeframe-10) != '' )" ][/wpv-conditional]
[wpv-conditional if="( $(wpcf-price-01) != '' )" ][/wpv-conditional]
[wpv-conditional if="( $(wpcf-price-02) != '' )" ][/wpv-conditional]
[wpv-conditional if="( $(wpcf-price-03) != '' )" ][/wpv-conditional]
[wpv-conditional if="( $(wpcf-price-04) != '' )" ][/wpv-conditional]
[wpv-conditional if="( $(wpcf-price-05) != '' )" ][/wpv-conditional]
[wpv-conditional if="( $(wpcf-price-06) != '' )" ][/wpv-conditional]
[wpv-conditional if="( $(wpcf-price-07) != '' )" ][/wpv-conditional]
[wpv-conditional if="( $(wpcf-price-08) != '' )" ][/wpv-conditional]
[wpv-conditional if="( $(wpcf-price-09) != '' )" ][/wpv-conditional]
[wpv-conditional if="( $(wpcf-price-10) != '' )" ][/wpv-conditional]
[types field='timeframe-01'][/types] [types field='timeframe-02'][/types] [types field='timeframe-03'][/types] [types field='timeframe-04'][/types] [types field='timeframe-05'][/types] [types field='timeframe-06'][/types] [types field='timeframe-07'][/types] [types field='timeframe-08'][/types] [types field='timeframe-09'][/types] [types field='timeframe-10'][/types]
[types field='price-01'][/types] [types field='price-02'][/types] [types field='price-03'][/types] [types field='price-04'][/types] [types field='price-05'][/types] [types field='price-06'][/types] [types field='price-07'][/types] [types field='price-08'][/types] [types field='price-09'][/types] [types field='price-10'][/types]
---------------------end--------------
What do I worng?
Thanks for helping.
Shane
Supporter
Sprachen:
Englisch (English )
Zeitzone:
America/Jamaica (GMT-05:00)
Hello,
Thank you for getting in touch.
I believe this is one for the elementor support team as our shortcodes are still there.
I would recommend getting in touch with the elementor support team and advising them of this issue.
Perhaps they may have a solution.
Thanks,
Shane
Hello Shane,
I tried the Toolset Support first because the error is the same on tool Elementor and the Divi editor. I used Divi and Elementor on different domains [Not together] and got the same error on both Editors.
Thanks Mario
Shane
Supporter
Sprachen:
Englisch (English )
Zeitzone:
America/Jamaica (GMT-05:00)
Hi Mario,
Their editors seems to be stripping out the html.
If you add this to a standard wordpress editor, does the issue still remain ?
Please let me know.
Thanks,
Shane
Hi Shane,
it seems to be the same! Here comes a small video versteckter Link
I hope it helps.
Thanks
Mario
Shane
Supporter
Sprachen:
Englisch (English )
Zeitzone:
America/Jamaica (GMT-05:00)
Hi Mario,
From your video it seems that the code is generating fine.
However i would like to try it out for myself.
Would you mind allowing me to have admin access to the site to have a look ?
Thanks,
Shane
Shane
Supporter
Sprachen:
Englisch (English )
Zeitzone:
America/Jamaica (GMT-05:00)
Hi Mario,
I see the issue now.
The conditionals are break the html structure of a table.
What you can do is to add the conditionals within the table columns instead of wrapping it.
Thanks,
Shane
Hi Shane,
the goal is that only if data in the toolsetfield we get a TD, your solutions generate a TD without data. In this case we don't need the conditionals. I'm right?
Thanks
Mario
Shane
Supporter
Sprachen:
Englisch (English )
Zeitzone:
America/Jamaica (GMT-05:00)
Hi Mario,
So you will need to workaround this challenge by using a view.
versteckter Link
With the view you can get your desired output but in order for the view to display the content for the current post you will need to add a filter for the post ID and set it to get the ID by the shortcode attribute.
Then you can call the view like this .
[wpv-view name="test" ids='[wpv-post-id]']
You can add this to your elementor template and it should start displaying your content fine.
Thanks,
Shane
My issue is resolved now. Thank you! I hope that ones come a release that not need the workaround.