Navigation überspringen

[Gelöst] Display an HTML table stored as code using Types

This support ticket is created vor 6 Jahren. 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 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

Dieses Thema enthält 2 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von davidS-53 vor 5 Jahren, 12 Monaten.

Assistiert von: Waqar.

Author
Artikel
#1199070

I'm copying an HTML table into a multiple line field.

The table structure stores fine, however, when I render it into a template using [types field='report-content' output='raw'][/types] none of the table HTML structure is rendered. I assume it's being filtered out? How can I get it to render the proper structure?

#1199085

Hi David,

Thank you for waiting.

While looking into the details you've shared, it wasn't clear how the form "Monthly Report - Add New" was being used and there were no "Monthly Reports" posts published on the website.

To test the fields with a table's HTML code, I added a draft post "TS support test Monthly Report", which shows a table's HTML from those fields correctly.
( versteckter Link )

I'll suggest checking the flow/process through which the table's content is being saved in those fields and then check the field's output again.

I hope this helps and please let me know if you need any further assistance around this.

regards,
Waqar

#1199650

Hmm, seems to be working now. Cheers for your help!