Groundswell for WordPress
Groundswell WordPress Plugin - Embed petitions, collect signatures, and create campaigns
by Groundswell · github.com/cloudwelder/groundswell-wordpress · website
★ 0stars
5release downloads
0forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/cloudwelder/groundswell-wordpress/releases/download/v1.0.0/groundswell.zipOfficial WordPress plugin for Groundswell - the open petition platform.
Features
- Embed Petitions - Display any Groundswell petition on your WordPress site
- Gutenberg Blocks - Native block editor support for embedding petitions
- Shortcodes - Classic editor support via
[groundswell_petition id="123"] - Signature Collection - Let visitors sign petitions directly from your site
- Create Petitions - Allow users to create new petitions (requires API key)
- Petition Lists - Display filterable lists of petitions by category or persona
Requirements
- WordPress 6.4 or higher
- PHP 8.1 or higher
Installation
From GitHub Releases (Recommended)
- Download the latest
groundswell.zipfrom Releases - In WordPress admin, go to Plugins → Add New → Upload Plugin
- Choose the downloaded zip file and click Install Now
- Activate the plugin
Manual Installation
- Download or clone this repository
- Run
npm install && npm run buildto compile assets - Copy the
groundswell/folder towp-content/plugins/ - Activate the plugin in WordPress admin
Configuration
- Go to Settings → Groundswell in your WordPress admin
- Enter your API key (get one at groundswell.petitions.io/account/api-keys)
- Configure display settings (theme, cache TTL)
Usage
Gutenberg Blocks
The plugin provides three blocks in the editor:
- Groundswell Petition - Embed a single petition with signature form
- Groundswell Petition List - Display a grid of petitions
- Groundswell Create Petition - Embed the petition creation form
Shortcodes
[groundswell_petition id="123"]
[groundswell_petition_list category="environment" limit="6"]
[groundswell_create_petition]
Development
# Install dependencies
npm install
composer install
# Start development build (watch mode)
npm run start
# Production build
npm run build
# Build distributable zip
npm run build:zip
# Run tests
npm run test:unit
composer test
npm run test:e2e
License
GPL-2.0-or-later - see LICENSE for details.
Links
Releases
1 release. Each count is every asset in that release; expand a row for the breakdown.
Tag
Published
Assets
Downloads