Table Manager

Description

The “Table Manager” plugin for WordPress allows users to create, manage and display tables easily using a shortcode. It enables creating tables, adding and updating columns, and managing data (insert, update, delete). Each table generates a unique shortcode for displaying content on posts or pages. The plugin also provides secure form handling, an easy-to-use admin interface, and custom CSS/JS for table display on the front end.

Features

Create and manage custom tables from the WordPress admin panel.
Add, delete, and update table columns dynamically.
Insert and update table data through an easy-to-use interface.
The Display tables using a simple shortcode.
The Secure and optimized queries using WordPress best practices.

Admin Installer via search:

Visit the Add New plugin screen and search for “Table Manager”.
Click the “Install Now” button.
Activate the plugin.

Admin Installer via zip:

Download the Plugin.
Extract the ZIP file and upload.
Activate the plugin through the “Plugins” menu in WordPress.

Usage

  1. Creating a New Table

Navigate to Table Manager in the WordPress admin panel.
Click on “Create Table” and enter the table name.
Add columns as needed and save the table.

  1. Managing Table Data

Select a table from the dropdown menu.
Insert new records using the input form.
Delete or update records directly from the interface.

  1. Displaying Tables on the Frontend

Use the following shortcode in posts or pages to display a table:
[display_table name=”your_table_name”]

Security Best Practices

Admin Capability Check: Access is restricted to administrators using manage_options capability.
SQL Injection Prevention: Queries are secured with WordPress $wpdb->prepare() where applicable.
Input Sanitization: All user inputs are sanitized before being inserted into the database.

Code Example

Registering Admin Menu:

function form_datamenu() {
add_menu_page(
‘Table Manager’, ‘Table Manager’, ‘manage_options’,
‘form_datamenu’, ‘form_data_adminpage’,
‘dashicons-database’, 20
);
}
add_action(‘admin_menu’, ‘form_datamenu’);

FAQ

  1. What is Table Manager?
    Table Manager is a WordPress plugin that allows users to create, manage, and display database tables using an intuitive interface and shortcodes.

2.How do I install the plugin?

Downloading the plugin ZIP file.
Navigating to Plugins > Add New in your WordPress dashboard.
Clicking Upload Plugin and selecting the ZIP file.
Clicking Install Now, then Activate the plugin.

3.How do I create a table?

Go to Table Manager in the WordPress admin panel.
Click Add New Table and define your columns.
Click Save Table to store it in the database.

4.How do I display a table on a post or page?

Use the shortcode format:
[table_manager table=’table name’]

5.Can I edit or delete a table after creating it?

Yes! You can edit or delete any table from the Table Manager dashboard.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Table Manager” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Table Manager” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.0