Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/dimvai/wordpress-database-to-html-plugin/archive/refs/heads/main.zipEmbed an HTML table from any database table or view. Optional support for datatables.net. For developers.
Description
Database To Html Table is a developer-focused block plugin that allows you to embed an HTML table in your WordPress content, using data from any database table or view.
- Specify the name of the database table or view you want to display.
- Optionally enable datatables.net for advanced table features like sorting, filtering, and pagination (showing only n entries per page).
- Designed for developers with web development experience, as table formatting and customization require technical knowledge.
- Completely free and open source.
- Note: Currently, only one table per page is supported (use the block only once per page).
Installation
- Upload the plugin files to the
/wp-content/plugins/database-to-html-tabledirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the 'Plugins' screen in WordPress.
- Add the "Database To Html Table" block to your post or page and configure the table/view name and datatables option.
Frequently Asked Questions
Who is this plugin for?
This plugin is intended for developers or advanced users with web development knowledge, as it requires understanding of your database structure and may require custom CSS/JS for custom formatting.
Can I use multiple tables on the same page?
No, currently only one table per page is supported.
Is datatables.net required?
No, datatables.net is optional. You can enable it for enhanced table features like sorting, filtering, and pagination.
Screenshots
No screenshots available yet.
Changelog
0.1.0
- Initial release
Arbitrary section
Feel free to contribute or suggest features via the plugin's repository or support