Skip to content

Releases: affigabmag/Custom-Table-CRUD

Version 2.1 – Custom Table CRUD Plugin for WordPress

Choose a tag to compare

@affigabmag affigabmag released this 16 Apr 08:09

📦 Custom Table CRUD Plugin for WordPress

Easily manage custom database tables through a user-friendly admin panel and display them via shortcodes in the frontend.

🚀 Version 2.1 – UI Improvements & Table Deletion Fixes

🌟 Highlights

🔏 Fixed PHP warnings during table deletion

✅ Support for read-only fields in the shortcode generator

🧱 New admin panels introduced for table management

🧠 Major refactoring using Claude AI for cleaner, more maintainable code

🧹 Shortcode generator now respects visibility flags:

showform

showinputfields

showsearchbox

showpagination

showtable

🎯 Improvements

Pagination rendering improved

Table wp_users now handled correctly (primary key detection fixed)

UI cleanup across admin panels

Minor bug fixes and sync updates

🖥️ UI/UX Enhancements

Shortcode generator now includes visual controls for table display

Admin panel improved visually and functionally

⚠️ Known Limitations

❌ Create Table functionality currently does not work

👀 Actions column (Edit/Delete buttons) in frontend is always visible→ A future version will allow toggling this via shortcode attributes

📁 Directory Structure

custom-table-crud/
├── assets/
│ ├── css/
│ │ ├── custom-table-crud-admin.css # Admin styles
│ │ └── custom-table-crud.css # Frontend styles
│ └── js/
│ ├── custom-table-crud-admin.js # Admin scripts
│ └── custom-table-crud.js # Frontend scripts
├── includes/
│ ├── class-admin.php # Admin page registration & handlers
│ ├── class-ajax-handler.php # AJAX functionality
│ ├── class-plugin-core.php # Main plugin bootstrap
│ ├── class-shortcode.php # Shortcode rendering
│ └── class-table-manager.php # Table logic (CRUD)
├── templates/
│ ├── admin/
│ │ ├── dashboard.php
│ │ ├── shortcode-generator.php
│ │ └── table-manager.php
│ └── frontend/
│ ├── form-view.php
│ ├── pagination-view.php
│ ├── search-view.php
│ └── table-view.php
├── custom-table-crud.php # Plugin entry point
├── uninstall.php # Clean uninstall process
├── README.md
├── readme.txt
└── .gitignore

📆 Installation

Download the plugin ZIP from Releases

Go to your WordPress dashboard → Plugins > Add New > Upload Plugin

Select the .zip file, install, and activate

You’ll find the plugin menu under Custom CRUD in the admin sidebar

💡 Shortcode Example

[wp_table_manager
table_view="your_table"
pagination="5"
showform="true"
showrecordscount="true"
showtable="true"
showsearch="true"
showpagination="true"
field1="fieldname=id;displayname=ID;displaytype=text;readonly=true"
field2="fieldname=name;displayname=Name;displaytype=text"
]

🛠 Roadmap

🧱 Fix Create Table feature

🎛 Toggle visibility for actions column

🔍 Add advanced filtering and search

📄 Add import/export options for table data

🧑‍💻 Contributors

Built and maintained by affigabmag

📓 License

Licensed under the GPLv2 or later.