# Bidda School Management WordPress Plugin Setup Guide

## Overview

This guide explains how to set up and use the Bidda School Management plugin in WordPress. The plugin provides comprehensive school management functionality integrated directly into your WordPress website.

## Prerequisites

1. WordPress installation (version 5.0 or higher)
2. PHP 7.0 or higher
3. MySQL 5.6 or higher
4. The Bidda School Management plugin files

## Installation Steps

### 1. Plugin Installation

The plugin has already been installed in your WordPress plugins directory:
`/wp-content/plugins/bidda-school-management/`

### 2. Plugin Activation

The plugin has been automatically activated. You can verify this by:
1. Logging into your WordPress admin panel
2. Navigating to Plugins > Installed Plugins
3. Confirming "Bidda School Management" shows as "Active"

### 3. Database Setup

The required database tables have been created:
- `wp_bidda_students` - Student information
- `wp_bidda_student_results` - Student results
- `wp_bidda_fees` - Fee records
- `wp_bidda_attendance` - Attendance records

### 4. Configuration

Default configuration options have been set:
- School name: Bidda Model School
- School address: 123 Education Road, Dhaka
- School phone: 02-12345678
- School email: info@biddaschool.edu
- Academic year: Current year
- Currency: BDT (৳)
- Payment methods: Bank Transfer, bKash, Nagad, Cash

## Accessing the Plugin

### Admin Panel

1. Log in to your WordPress admin panel
2. Look for the "Bidda School" menu in the left sidebar
3. Click on any submenu item to access different features:
   - Dashboard
   - Settings

### Frontend Usage

The plugin provides several shortcodes that can be used on any page or post:

1. `[bidda_dashboard]` - Displays the student dashboard
2. `[bidda_student_login]` - Shows a student login form
3. `[bidda_student_portal]` - Displays the student portal
4. `[bidda_admission_form]` - Shows an admission form
5. `[bidda_results]` - Displays student results
6. `[bidda_fees]` - Shows fee information

## Customization

### Styling

The plugin includes default CSS styling. To customize the appearance:
1. Add custom CSS to your theme's stylesheet
2. Override specific classes used by the plugin

### Configuration

To modify plugin settings:
1. Go to WordPress Admin > Bidda School > Settings
2. Update the school information, academic year, or payment methods
3. Save your changes

## Troubleshooting

### Common Issues

1. **Shortcodes not displaying**: Ensure the plugin is activated and you're using the correct shortcode syntax.

2. **Database connection errors**: Verify your WordPress database settings in `wp-config.php`.

3. **Missing styles**: Clear your browser cache and check if CSS files are loading properly.

### Reinstalling Database Tables

If you need to recreate the database tables:
1. Deactivate the plugin
2. Reactivate the plugin (this triggers the activation hook)
3. Or run the manual setup script: `php create-bidda-tables.php`

## Support

For support with the Bidda School Management plugin:
1. Check the plugin documentation
2. Review the installation logs
3. Contact the plugin developer

## Additional Information

### Plugin Structure

```
bidda-school-management/
├── assets/
│   ├── css/
│   ├── js/
│   └── images/
├── includes/
│   ├── class-bidda.php
│   ├── class-bidda-activator.php
│   ├── class-bidda-deactivator.php
│   ├── class-bidda-loader.php
│   ├── class-bidda-i18n.php
│   ├── class-bidda-admin.php
│   ├── class-bidda-public.php
│   ├── class-bidda-database.php
│   └── class-bidda-shortcode.php
├── languages/
├── bidda-school-management.php
├── uninstall.php
├── readme.txt
└── index.php
```

### Development

To extend the plugin functionality:
1. Create new classes in the `includes/` directory
2. Register hooks in the appropriate loader methods
3. Add database tables to the activation class if needed

## Conclusion

The Bidda School Management plugin is now fully set up and ready to use. You can start managing your school's information directly from your WordPress admin panel and display information to students and parents through the provided shortcodes.