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.
by Sjoerd Takken · github.com/kartevonmorgen/wp-kvm-interface · website
★ 1stars
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/kartevonmorgen/wp-kvm-interface/archive/refs/heads/master.zipReadme
wp-kvm-interface
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);