Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/gdwallage/wp-plugin-gw-pdf-brochure/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Ultra-high quality PDF leaflets and brochures for Gary Wallage Photography WordPress Multisite.
Features
- Editorial PDF Rendering: Generates print-ready vector/raster PDF brochures using Dompdf with custom CSS styling matching the brand editorial design.
- Dynamic Bookly & Pricing Sync: Automatically pulls live service packages, compound services, pricing, and bundle savings.
- Multiple Layout Types:
- Two-sided A4 service leaflets
- Compound service brochures
- Multi-page A4 and A5 site-wide portfolio & price guides
- Admin Studio: Dedicated WordPress Admin UI for configuring, previewing, and downloading brochures.
Installation & Build
composer install --no-dev --optimize-autoloader
Architecture
gw-pdf-brochure.php: Main plugin entry point and activation hooks.includes/class-gwpdf-data.php: Service and pricing data aggregator.includes/class-gwpdf-renderer.php: Dompdf rendering wrapper and PDF generation engine.includes/class-gwpdf-brochure.php: Layout template compiler for A4/A5 leaflets.includes/class-gwpdf-admin.php: Admin menu, scripts, and views.includes/class-gwpdf-ajax.php: AJAX handlers for async preview and generation.admin/views/: Partial templates for leaflet layouts and admin settings.