WP Manifestindependent plugin directory
manifest / integrations / wp-kvm-interface

WP Karte von Morgen Interface

This plugin is used to upload events and initiative(entries) to the Karte von Morgen.

★ 1stars

Install

Download source zip No release zip yet

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/kartevonmorgen/wp-kvm-interface/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

This plugin is used to upload and download events and initiative(entries) to the Karte von Morgen .

The Plugin depends on the "WP Events Interface" - Wordpress Plugin which need to be installed and activated first.

The following Settings can be setted under Events Interface - Karte von Morgen

  • URL - > URL to the OpenFairDB Database
  • Access Token -> Access Token for saving events and entries as an authorized entity.
  • Fixed Tag -> Gives uploaded events and entries a fixed tag so they all can be found by this tag

In PHP the following Interface can be used to load and save entries and events.

Loading Entries:

$kvmInterface = KVMInterface::get_instance();
$wpInitiativen = $kvmInterface->get_entries();

Saving Entries:

$kvmInterface = KVMInterface::get_instance();
$kvmInterface->save_entry($wpInitiative);

Loading Events:

$kvmInterface = KVMInterface::get_instance();
$eiEvents = $kvmInterface->get_events();

Saving Events:

$kvmInterface = KVMInterface::get_instance();
$kvmInterface->event_saved($eiEvent);