<div align="center"><img src="assets/icon.svg" alt="WD Quick Pages Logo" width="120" height="120"></div>

# WD Quick Pages

##### Quickly Create Bulk Pages with Hierarchical Structure

A modern WordPress plugin for quickly creating multiple pages with hierarchical structure support. Perfect for rapid site development.

## Features

- **Quick Page Creation** - Create multiple pages at once using a simple textarea input
- **Hierarchical Structure** - Use `-` prefix to create child pages with unlimited nesting
- **Live Preview** - Preview the page structure before creation
- **Duplicate Prevention** - Automatically skips pages that already exist
- **Progress Tracking** - Real-time progress bar during page creation
- **Modern UI** - Clean, Shadcn/UI inspired design
- **Performance Focused** - AJAX-powered for seamless user experience

## Usage

1. Navigate to **Pages**>**Quick Pages** to access the plugin
2. Enter page titles in the textarea, one per line
3. Use `-` prefix for child pages (e.g., `-Our Story` under `About Us`)
4. Use multiple `-` for deeper nesting (e.g., `--Team Member` under `-Our Story`)
5. Select page status, template, and author
6. Click **Preview Structure** to see what will be created
7. Click **Create Pages** to generate the pages

## Example Input

```
Home
About Us
-Our Story
-Our Team
--John Doe
--Jane Smith
Services
-Web Development
--Frontend
--Backend
-Design
--UI/UX
--Branding
Contact
Blog
```

## Requirements

- WordPress 5.0 or higher
- PHP 7.4 or higher
- User must have `edit_pages` capability

## Installation

1. Upload the plugin files to `/wp-content/plugins/wd-quick-pages/`
2. Activate the plugin through the 'Plugins' screen in WordPress
3. Navigate to 'Quick Pages' in the admin menu

## License

GPL v2 or later

## Changelog

### 1.0.0

- Initial release
- Hierarchical page creation
- Live preview functionality
- Progress tracking
- Modern Shadcn/UI inspired design
- Duplicate prevention
- Security features (nonces, capability checks)
