Last Updated: 2026-05-27 | Applies to: IK v1.2+ | Role: All Users
Dashboard Layout Overview
The InstitutionKit dashboard is your command center. It adapts based on your role and selected campus.
Dashboard Sections (Top to Bottom):
- Header Bar - Campus info, export button, fee reminders
- Welcome Box - Personalized greeting with today's date
- Campus Info Bar - Campus details (when single campus selected)
- Multi-Campus Cards - Overview cards per campus (Super Admin only)
- Stats Grid - Total Students, Teachers, Classes, Subjects
- Today's Attendance - Student + Teacher attendance with weekly trend chart
- Fee Summary - Outstanding, Collected, Overdue, Collection Rate
- Two-Column Widgets - Announcements, Events, Performance Charts
- Quick Actions - One-click access to common tasks
Role-Based Dashboard Views
Super Administrator sees:
- All-campus or per-campus statistics
- Multi-campus comparison cards
- Campus switcher in header
- Full financial overview
- Export report button
- Send fee reminders button
Campus Admin sees:
- Single campus statistics only
- Campus-specific financial data
- No campus switcher
- Limited to assigned campus widgets
Teacher sees:
- Assigned class performance charts
- Today's attendance tasks
- Upcoming events
- Announcements (filtered for teachers)
Accountant sees:
- Fee collection statistics
- Outstanding fees by class
- Recent payments table
- Collection rate metrics
- Overdue invoice counts
Section 1: Campus Info Bar
When viewing a specific campus, you'll see:
🏛️ Campus: North Branch (NORTH)👔 Principal: Dr. Sarah Ahmed📞 Phone: +92-300-1234567📧 Email: [email protected]📍 Address: 123 Main Road, Islamabad
This bar is hidden when viewing "All Campuses" mode.
Section 2: Multi-Campus Cards (Super Admin Only)
When viewing all campuses, each campus gets a summary card:
┌─────────────────────────────────┐│ 📍 North Branch View →││ 👥 Students: 450 ││ 👨🏫 Teachers: 32 ││ 💰 Outstanding: $12,500 ││ 📊 Attendance: 94.5% │└─────────────────────────────────┘
Click "View Dashboard →" to drill into a specific campus.
Section 3: Stats Grid
Four key metrics at a glance:
| Metric | What It Counts | Color Code |
|---|---|---|
| Total Students | Active enrolled students (published ik_student posts) | Blue |
| Total Teachers | Active staff with teacher roles | Light Blue |
| Total Classes | Published ik_class posts | Green |
| Total Subjects | Terms in ik_subject taxonomy | Orange |
How numbers are calculated:
- Students: Count of
ik_studentposts filtered by campus - Teachers: Count from
institutionkit_stafftable where role isteacher_permanentorteacher_visitingand status isactive - Classes: Count of
ik_classposts - Subjects: WordPress term count
Section 4: Today's Attendance Widget
Student Attendance Card:
┌─────────────────────────────────────┐│ Student Attendance ││ ✅ Present: 425 ❌ Absent: 18 ││ ⏰ Late: 7 🏖️ On Leave: 0 ││ [████████████████░░] 96% Rate ││ Mark Attendance → │└─────────────────────────────────────┘
Clickable Stats: Click on Absent/Late/Leave numbers to open a detailed popup showing which students have that status.
Weekly Trend Chart: Line chart showing last 7 days of attendance percentage using Chart.js.
Teacher Attendance Card: Same format but pulling from institutionkit_staff_attendance table, filtered for staff with teacher roles.
Section 5: Fee Management Summary
Four financial metrics:
| Metric | Source Table | Calculation |
|---|---|---|
| Total Outstanding | institutionkit_invoices | SUM(total_amount - amount_paid) WHERE status != 'paid' |
| Total Collected (Month) | institutionkit_transactions | SUM(amount) WHERE created_at >= first day of month |
| Overdue Invoices | institutionkit_invoices | COUNT WHERE due_date < today AND status != 'paid' |
| Collection Rate | Calculated | (Collected ÷ Total Monthly Fees) × 100 |
Section 6: Announcements Widget
Shows up to 10 active announcements filtered by:
- Target Audience: Shows announcements for your role (all, teachers, parents, students)
- Expiry: Hides expired announcements
- Campus: Filters by current campus
Admins can:
- Post new announcements via modal popup
- Delete announcements (trash icon)
- Set expiry dates
- Choose target audience
Announcement Modal Fields:
Title: [___________________________]Content: [___________________________]Target: [Everyone ▾]Expires: [Pick Date (optional)][Post Announcement] [Cancel]
Section 7: Events Widget
Shows up to 10 upcoming events with:
- Event type badge (Exam, Holiday, Meeting, School Event, Fee Due)
- Location with 📍 icon
- Date/time with 🕒 icon
- End date (if multi-day)
Event Types:
| Type | Use For | Example |
|---|---|---|
exam | Exam schedules | "Mid-Term Exams" |
holiday | School closures | "Eid Holidays" |
meeting | Staff/parent meetings | "PTA Meeting" |
event | General events | "Sports Day" |
fee_due | Payment deadlines | "Last Date for Fee Submission" |
Section 8: Performance Charts (Admin/Teacher)
Two bar charts using Chart.js:
Class Performance Chart:
- X-axis: Class names
- Y-axis: Average percentage (0-100%)
- Data from:
institutionkit_gradebooktable - Top 5 classes by average
Subject Performance Chart:
- X-axis: Subject names
- Y-axis: Average percentage
- Top 5 subjects by average
Section 9: Fee Dues Widget (Admin/Accountant)
Table showing outstanding fees grouped by class:
| Class | Total Due | Students |
|---|---|---|
| Grade 10 | $15,200 | 45 |
| Grade 9 | $8,400 | 32 |
| Grade 8 | $3,100 | 28 |
Only shows classes with outstanding balances.
Section 10: Recent Payments (Admin/Accountant)
Last 10 transactions from institutionkit_transactions:
| Date | Student | Amount | Method |
|---|---|---|---|
| May 25, 2026 | John Doe | $500 | Cash |
| May 24, 2026 | Jane Smith | $650 | Bank Transfer |
Section 11: Parent Portal Stats (Admin)
Shows parent engagement metrics:
- Total registered parents
- Parents linked to students
- Linkage percentage with progress bar
Section 12: Notification Logs (Admin)
Last 10 notifications sent from the system:
- Date/time sent
- Type (fee_reminder, attendance_alert, etc.)
- Channel (email, SMS)
- Status (sent, failed)
Quick Actions Bar
One-click buttons for common tasks:
[➕ New Admission] [📊 Compare Campuses] [👤 Add Student][👨🏫 Add Teacher/Staff] [🏫 Add Class] [📋 Mark Attendance][🧾 Manage Invoices] [📢 Post Announcement] [📅 Add Event]
Export Report Feature
Click "Export Report" to download a JSON file containing:
- All student records
- All staff records
- All invoices (filtered by campus)
- Last 30 days attendance records
File format: institutionkit-export-2026-05-27.json
Send Fee Reminders
Click "Send Fee Reminders" to email all parents with overdue invoices. The system:
- Finds all unpaid invoices past due date
- Looks up parent email (from student meta or parent user account)
- Sends formatted reminder email
- Logs notification in
institutionkit_notifications - Reports count of sent reminders and students without emails
Dashboard Data Flow
┌─────────────────────────────────────────────────────────┐│ DATA SOURCES │├──────────────┬──────────────┬──────────────┬────────────┤│ WordPress │ IK Custom │ WordPress │ Calculated││ Posts/Terms │ Tables │ Users │ Metrics │├──────────────┼──────────────┼──────────────┼────────────┤│ ik_student │ staff table │ parent role │ Collection ││ ik_class │ invoices │ teacher role │ Rate ││ ik_subject │ attendance │ admin role │ Attendance ││ │ transactions │ │ Percentage ││ │ notifications│ │ │└──────────────┴──────────────┴──────────────┴────────────┘
Campus Filtering Logic
All dashboard queries respect the current campus context:
Single Campus (campus_id = 5):
sql
-- All queries add:WHERE campus_id = 5-- or for postmeta:AND pm.meta_key = '_ik_campus_id' AND pm.meta_value = 5
All Campuses (campus_id = 0):
sql
-- No campus filter applied-- Shows aggregated data from all campuses
Pro Tips
- Quick Campus Switch: Use the dropdown in the header to instantly switch between campuses without leaving the dashboard
- Attendance Drill-Down: Click on absent/late numbers to see exactly which students
- Bulk Fee Reminders: Send reminders to all overdue parents with one click
- Export for Meetings: Download the JSON export before staff meetings for data-driven discussions
- Performance Trends: Use the charts to identify struggling classes or subjects early

Comments are closed.