Skip to content
WordPress.org
  • Showcase
  • Plugins
  • Themes
  • Hosting
  • News
    • Learn WordPress
    • Documentation
    • Education
    • Forums
    • Developers
    • Blocks
    • Patterns
    • Photos
    • Openverse ↗︎
    • WordPress.tv ↗︎
    • About WordPress
    • Make WordPress
    • Events
    • Five for the Future
    • Enterprise
    • Gutenberg ↗︎
    • Job Board ↗︎
  • Merch ↗︎
  • Get WordPress
Get WordPress
WordPress.org

Plugin Directory

Wereldkundig for Gravity Forms

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

Wereldkundig for Gravity Forms

By Huub Veeneman
Download
  • Details
  • Reviews
  • Installation
  • Development
Support

Description

A visitor ticks a Wereldkundig subscribe me checkbox on a Gravity Forms form. On submit, the add-on sends their email address (and name, and any other fields you map) to your Wereldkundig platform, which subscribes them to the themes, or only some of their categories, chosen in the form’s Wereldkundig feed for that checkbox.

  • A Wereldkundig subscribe me consent checkbox for the form editor.
  • A Wereldkundig feed per checkbox that chooses the themes and categories, maps the email address, names and other subscriber fields, and adds conditional logic. Without a feed, nothing is sent.
  • Subscribers are sent in the background right after the submit; the result is added to the entry as a note.
  • The themes and subscriber fields are fetched from the platform when you save the settings and refreshed every hour.
  • The Basic Auth code is never shown in full, and can be kept out of the database with constants in wp-config.php.
  • Works on single sites and multisite networks, with settings per site.

Nothing is sent unless the visitor checked the box.

The add-on requires Gravity Forms 2.5 or later and a Wereldkundig platform with the Basic Auth code Wereldkundig supplies for it.

External services

This plugin connects to the Wereldkundig platform you configure under Forms > Settings > Wereldkundig (or with the WK_GF_API_URL constant). It is needed to fetch your themes and to subscribe the people who fill in your forms. Every request carries the Basic Auth code you entered, and only goes over https://.

  • Fetching the themes and subscriber fields (GET /v1/subscribe/fields): when you save the settings, and once an hour in the background while the platform is configured. No personal data is sent.
  • Subscribing (POST /v2/subscribe): when a visitor submits a form with the Wereldkundig subscribe box checked. It sends the email address, the names and other fields mapped in the feed, the chosen themes and categories, and whether existing subscribers may be updated. Nothing is sent when the box is not checked.

The service is provided by Wereldkundig: wereldkundig.nl, Gravity Forms Add on documentation at gravityforms.wereldkundig.nl and API documentation at docs.wereldkundig.nl/api.

Installation

  1. Install and activate Gravity Forms 2.5 or later.
  2. Upload the plugin through Plugins > Add New Plugin, or put the wereldkundig-for-gravity-forms folder in wp-content/plugins/.
  3. Activate the plugin. On multisite, network-activate it.
  4. Go to Forms > Settings > Wereldkundig, enter the platform URL and Basic Auth code, and save.
  5. Add a Wereldkundig subscribe me field to a form, then add a Wereldkundig feed under Form Settings > Wereldkundig that chooses its themes and the email field. With more than one subscribe field on the form, the feed also chooses the checkbox.

FAQ

Where do I get the platform URL and Basic Auth code?

From Wereldkundig, for your own platform.

Can I keep the Basic Auth code out of the database?

Yes. Define WK_GF_API_URL and WK_GF_API_AUTH in wp-config.php; each constant wins over its field on the settings page.

Why does the feed say it could not load the themes?

The add-on hasn’t fetched them yet, or the platform can’t be reached. Check the connection under Forms > Settings > Wereldkundig and save the settings to fetch the themes again.

How do I know a subscriber was sent?

Open the entry. Its notes say whether the subscriber was sent, or why not.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Wereldkundig for Gravity Forms” is open source software. The following people have contributed to this plugin.

Contributors
  • Huub Veeneman
  • jmslbam

Translate “Wereldkundig for Gravity Forms” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.1.1

  • Remove Dutch translation files from repo so they can be translated via translate.wordpress.org

1.1.0

  • Feed setting to update an existing subscriber on the Wereldkundig newsletter platform (off by default).
  • Subscribe via POST /v2/subscribe; entry notes distinguish a new subscriber from an updated one.

1.0.0

  • First release.

Meta

  • Version 1.1.1
  • Last updated 1 day ago
  • Active installations Fewer than 10
  • WordPress version 6.9 or higher
  • Tested up to 7.1.5
  • PHP version 8.2 or higher
  • Tags
    gravity formsnewslettersignup formsubscribe
  • Advanced View

Ratings

No reviews have been submitted yet.

Your review

See all reviews

Contributors

  • Huub Veeneman
  • jmslbam

Support

Got something to say? Need help?

View support forum

  • About
  • News
  • Hosting
  • Privacy
  • Showcase
  • Themes
  • Plugins
  • Patterns
  • Learn
  • Documentation
  • Developers
  • WordPress.tv ↗
  • Get Involved
  • Events
  • Donate ↗
  • Merch ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org

The WordPress® trademark is the intellectual property of the WordPress Foundation.

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Visit our Facebook page
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
Code is Poetry