CH Reservas (Premium AJAX)
Custom WordPress plugin for managing restaurant reservations with a dedicated database table and admin dashboard.
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/walstaddev/wordpress-reservations-plugin/archive/refs/heads/main.zipCustom WordPress plugin developed as part of a portfolio project.
This plugin allows a restaurant website to manage table reservations directly from the site using a custom database table and a simple admin dashboard.
Features
- Reservation form using shortcode
[ch_reservas] - Custom MySQL table for storing reservations
- Admin dashboard to view and manage reservations
- Input validation and sanitization
- Nonce security protection
- Delete reservations from the admin panel
Technologies Used
- WordPress Plugin API
- PHP
- MySQL
$wpdbdatabase interface- HTML / CSS
- Shortcodes
Database Structure
Table created automatically on plugin activation:
Fields:
- id
- created_at
- name
- phone
- guests
- res_date
- res_time
- notes
- status
- ip
- user_agent
How It Works
- The plugin creates a custom table on activation.
- A shortcode
[ch_reservas]renders the reservation form. - When the form is submitted, data is validated and stored in the database.
- Reservations can be viewed and managed from the WordPress admin panel.
Project Context
This plugin was developed as part of a restaurant website project built for portfolio purposes.
It demonstrates:
- WordPress plugin development
- Custom database table creation
- Backend form processing
- Admin dashboard integration