Photon Pricing Table
Responsive shortcode pricing table starter for small WordPress implementation jobs.
by Photon101 · github.com/photon101/wp-pricing-table-starter
★ 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/photon101/wp-pricing-table-starter/archive/refs/heads/main.zipWordPress Pricing Table Starter
Small WordPress plugin starter for adding a clean three-tier pricing table with a shortcode.
It is designed for fast client jobs where the buyer needs a responsive pricing section that fits an existing theme without pulling in a page-builder dependency.
Features
- Shortcode:
[photon_pricing_table] - Three default tiers: Starter, Growth, Pro
- Optional JSON override through a
plansshortcode attribute - Highlighted plan support
- Responsive CSS with no JavaScript dependency
- Escaped output for titles, prices, features, and links
Install
- Copy
photon-pricing-table.phpandassets/pricing-table.cssinto a plugin directory such aswp-content/plugins/photon-pricing-table/. - Activate
Photon Pricing Tablein WordPress. - Add
[photon_pricing_table]to a page or post.
Example
[photon_pricing_table]
Custom plans can be passed as compact JSON:
[photon_pricing_table plans='[
{"name":"Basic","price":"$19","period":"/mo","features":["1 site","Email support"],"button":"Start","url":"https://example.com/basic"},
{"name":"Business","price":"$49","period":"/mo","features":["5 sites","Priority support"],"button":"Choose","url":"https://example.com/business","highlight":true},
{"name":"Scale","price":"$99","period":"/mo","features":["Unlimited sites","Migration help"],"button":"Contact","url":"https://example.com/scale"}
]']
Validation
Run:
php -l photon-pricing-table.php
php tests/render-check.php
The render check runs a small WordPress-function shim and verifies the shortcode output contains the expected pricing-table structure.
Client Handoff
Typical handoff includes:
- Plugin files ready to upload
- Three tiers matched to supplied copy
- Colors adjusted to fit the active theme
- Mobile screenshot check
- Short setup note for the site owner