WP Manifestindependent plugin directory
manifest / forms / pavers

WC Paver Grid Personalization

WordPress plug-in for IAFF 2665 Retirees

by msquaredstl · github.com/msquaredstl/pavers

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.zip

A 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; adjust count to change the number displayed.

Installation

  1. Copy the plugin folder to your WordPress wp-content/plugins directory.
  2. Activate Pavers from the Plugins screen.
  3. Visit Settings → Pavers to set the notification recipient and copy.
  4. Edit a WooCommerce product and enable Paver Settings → Enable Paver Request Form to allow engraving submissions on that product page.
  5. 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.php using the pavers_submit_order action.
  • Submissions create pending paver_order posts with donor metadata for review and publishing.