If I understood you correctly, you can try using a serialized PHP array, or you can use function wdtOutputTable which is Helper func that prints out the table in backend. Also, you have to include all modals(delete, close and edit modal template)
<!-- /Modals -->
<?php wdtOutputTable('1'); ?>
<!-- Close modal -->
<?php include WDT_TEMPLATE_PATH . 'admin/common/close_modal.inc.php'; ?>
<!-- Close modal -->
<!-- Delete modal -->
<?php include WDT_TEMPLATE_PATH . 'common/delete_modal.inc.php'; ?>
<!-- /Delete modal -->
<!-- Edit modal -->
<?php include WDT_TEMPLATE_PATH . 'frontend/modal.inc.php'; ?>
Hi,
I would like to display a table from my php code, is it possible?
I do not want to paste the shortcode directly to a post or page.
Thanks,
Hello Nelson.
Sorry for the late reply.
If I understood you correctly, you can try using a serialized PHP array, or you can use function wdtOutputTable which is Helper func that prints out the table in backend. Also, you have to include all modals(delete, close and edit modal template)
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