Does WPDT have the ability to modify cell results using HTML/PHP or template tags?
I would need to modify data within the cells to wrap in HTML or add shortcode to cell results which begs the question, Does WPDT have cell template tags?
You can use HTML tags within cells if the column type is set to string, and editor input type to "single line" or "multi-line". I cannot guarantee, though, if all HTML tags will work.
You also have an option to enable "Parse shortcodes in strings" in main settings of wpDataTables:
That usually works with shortcodes, but not with all of them.
Unfortunately, single cell shortcodes are still not supported. We have that on our "to-do" list, but unfortunately I cannot tell you when it will be implemented.
Our developers are currently busy working on priority tasks, so we cannot give any ETAs.
I am not sure how to accomplish this being that I cannot edit a cell after it is rendered. It seems I would have to add my html in the database first. I was hoping to wrap html around the rendered cell content AFTER the results are shown. Is that not possible?
The only case where you wouldn't be able to edit entries in the table is if you created the table by linking to an existing data source, which is not SQL query (Excel, CSV, XML, JSON, Serialized PHP Array), or if you created the table from Formidable Forms.
In all other cases, the table is editable, and you can make whatever changes you want in it, you just need to enable the Editing option in settings above the table.
Does WPDT have the ability to modify cell results using HTML/PHP or template tags?
I would need to modify data within the cells to wrap in HTML or add shortcode to cell results which begs the question, Does WPDT have cell template tags?
e.g: <a href="{cell2}">{cell1}</a>
OR
[myshortcode id="{cell3}"]
Hello Sam.
Thank you for your purchase.
You can use HTML tags within cells if the column type is set to string, and editor input type to "single line" or "multi-line". I cannot guarantee, though, if all HTML tags will work.
You also have an option to enable "Parse shortcodes in strings" in main settings of wpDataTables:
That usually works with shortcodes, but not with all of them.
Unfortunately, single cell shortcodes are still not supported. We have that on our "to-do" list, but unfortunately I cannot tell you when it will be implemented.
Our developers are currently busy working on priority tasks, so we cannot give any ETAs.
Sorry for the inconvenience.
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
I am not sure how to accomplish this being that I cannot edit a cell after it is rendered. It seems I would have to add my html in the database first. I was hoping to wrap html around the rendered cell content AFTER the results are shown. Is that not possible?
Hello again Sam.
The only case where you wouldn't be able to edit entries in the table is if you created the table by linking to an existing data source, which is not SQL query (Excel, CSV, XML, JSON, Serialized PHP Array), or if you created the table from Formidable Forms.
In all other cases, the table is editable, and you can make whatever changes you want in it, you just need to enable the Editing option in settings above the table.
Please let me know if this helps.
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables