Task Manager Pro provides powerful shortcodes that allow you to embed functionality anywhere on your WordPress site. These shortcodes make it easy to create client portals, team dashboards, and project management interfaces.
Shortcodes are special WordPress tags that allow you to embed Task Manager Pro functionality directly into pages, posts, and widgets. This makes it easy to create custom project management interfaces without coding.
[tmp task] Display a list of tasks assigned to the current user.
Parameters:
task (number): Number of tasks to display (1-50, default: 5)show_status (boolean): Show task status (default: false)show_priority (boolean): Show task priority (default: false)show_due_date (boolean): Show due dates (default: false)[tmp project] Display a list of projects the current user has access to.
Parameters:
project (number): Number of projects to display (1-50, default: 5)show_progress (boolean): Show project progress (default: false)show_team (boolean): Show team members (default: false)show_deadline (boolean): Show project deadlines (default: false)[tmp activity-feed] Display a real-time feed of recent user activities.
Features:
[tmp upcoming-deadlines] Show tasks with approaching or overdue deadlines.
Features:
[tmp quick-actions] Provide quick access to common task management actions.
Features:
[tmp create-task] Embeddable form for creating new tasks.
Features:
[tmp team-directory] Display team members with their statistics and contact info.
Features:
[tmp notifications] Real-time notification display and management.
Features:
All shortcodes use consistent CSS classes for easy customization:
/* Main containers */
.tmp_task_list
.tmp_project_list
.tmp-dashboard-widget
.tmp-stats-widget
.tmp-activity-feed
.tmp-upcoming-deadlines
.tmp-quick-actions
.tmp-create-task-form
.tmp-team-directory
.tmp-notification-center
/* Common elements */
.tmp-empty /* Empty state */
.tmp-error /* Error state */
.tmp-loading /* Loading state */.tmp-activity-feed .activity-item { background: white; margin-bottom: 10px; padding: 15px; border-radius: 5px; }
.tmp-quick-actions .action-link:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
<!-- Recent Activity --> [tmp activity-feed="10" show_avatars="true"]
<!-- Upcoming Deadlines --> [tmp upcoming-deadlines="14" show_overdue="true"]
<!-- Quick Actions --> [tmp quick-actions show_create="true"]
All shortcodes are fully responsive and automatically adapt to different screen sizes:
All shortcodes automatically check user permissions:
if ($cached_output === false) { $cached_output = generate_shortcode_output($args); wp_cache_set($cache_key, $cached_output, 'tmp_shortcodes', 300); }
| Issue | Solution |
|---|---|
| Shortcodes not displaying | Check if user is logged in and has proper permissions |
| Styling issues | Check for CSS conflicts and verify CSS file is loaded |
| AJAX errors | Check nonce configuration and verify AJAX endpoints |