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/kevinchamplin/wp-smart-contact-router/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.
A modern WordPress plugin that routes contact form submissions to different recipients based on topic and priority.
Highlights
- PHP 8 with
strict_typesand namespaced, PSR-4 class structure. - Shortcode-driven contact form:
[smart_contact_router]. - Secure submission handling via
admin-post.php, nonces, and sanitization. - Pluggable routing: per-topic recipient addresses stored in WordPress options.
Usage
- Place the plugin folder inside
wp-content/plugins/wp-smart-contact-router. - Activate WP Smart Contact Router in the WordPress admin.
- Add the shortcode
[smart_contact_router]to any page. - Configure routing options via code or (later) an options screen.
This repository is part of a collection of focused, production-minded mini projects showcasing full‑stack and WordPress development skills.