A custom WordPress Task Manager Plugin that allows users to create, manage, and display tasks using frontend forms and Custom Post Types.
- Create tasks using frontend form (shortcode-based)
- Display tasks dynamically using WP_Query
- Store task data using Custom Post Types
- Update task status using post meta
- Secure form handling with validation and sanitization
- Prevent duplicate submissions using Post-Redirect-Get pattern
- PHP
- WordPress Plugin API
- Custom Post Types (CPT)
- Post Meta API
- WP_Query
- HTML
- CSS
- JavaScript (basic DOM handling)
- Clone the repository:
git clone https://github.com/hamza-naeem-dev/Task-Manager-WordPress-Plugin.git
Move it to:
wp-content/plugins/
Activate plugin from WordPress dashboard
π§© Usage
Add Task Form
[task_manager_form]
Display Task List
[task_manager_list]
βοΈ How It Works
User submits a task using the form
Data is validated and sanitized
Task is stored as a Custom Post Type
Task status is managed using post meta
Tasks are displayed dynamically using WP_Query
π§ Learning Highlights
Building a full CRUD-like system using WordPress
Managing data using Custom Post Types and post meta
Implementing secure form handling
Using WP_Query for dynamic frontend rendering
β οΈ Future Improvements
Add task editing and deletion
Add AJAX functionality
Add user-based task filtering
Improve UI with Bootstrap
π Author
Hamza Naeem
π License
GPL2

