WC Paver Grid Personalization
WordPress plug-in for IAFF 2665 Retirees
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/msquaredstl/pavers/archive/refs/heads/main.zipA WordPress plugin for collecting and showcasing IAFF 2665 retiree paver requests.
Features
- Custom Paver Order post type for managing submissions in the dashboard.
- Front-end shortcode form with validation and nonce protection.
- Email notifications to a configurable recipient when a new request is received.
- Optional public "paver wall" display for recent inscriptions.
- Admin settings for notification email, success/error copy, and a form disclaimer.
- WooCommerce integration with a per-product toggle to show the request form only on paver products.
Shortcodes
[paver_order_form product_id="123"]– renders the public request form for a paver-enabled WooCommerce product (uses the current product automatically on single-product pages).[paver_wall count="12"]– outputs a masonry-style grid of recent paver inscriptions; adjustcountto change the number displayed.
Installation
- Copy the plugin folder to your WordPress
wp-content/pluginsdirectory. - Activate Pavers from the Plugins screen.
- Visit Settings → Pavers to set the notification recipient and copy.
- Edit a WooCommerce product and enable Paver Settings → Enable Paver Request Form to allow engraving submissions on that product page.
- Add the shortcodes to a page to collect requests and optionally display the wall (the order form will only render for enabled paver products).
Development notes
- Autoloading is handled via a lightweight PSR-4 style loader in
includes/Autoloader.php. - Form submissions are processed through
admin-post.phpusing thepavers_submit_orderaction. - Submissions create pending
paver_orderposts with donor metadata for review and publishing.