开发者 | fundamentallmedia |
---|---|
更新时间 | 2019年3月18日 18:44 |
捐献地址: | 去捐款 |
PHP版本: | 3.0.1 及以上 |
WordPress版本: | 4.9.4 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
Niki server
, enter Niki OAuth URL
: https://auth.niki.nl
Niki server
, enter Niki API URL
: https://api.niki.nl
Wijzigingen opslaan
Vraag Niki API Token aan
and follow instructions.Niki projecten
check the relevant projects and click Wijzigingen opslaan
/wp-content/plugins/
directory using your favorite method (ftp, sftp, scp, etc...)Niki server
, enter Niki OAuth URL
: https://auth.niki.nl
Niki server
, enter Niki API URL
: https://api.niki.nl
Wijzigingen opslaan
Vraag Niki API Token aan
and follow instructions.Niki projecten
check the relevant projects and click Wijzigingen opslaan
Include the niki-functions.php
in your page template and call the specific housetype information
by specifying project id and housetype id like so:
`
get_plugin_path() . "examples/niki-functions.php";
niki_show_woningtype('TBIGEN_79DBBC06-518B-4591-882E-EE63359CCBA8','TBIGEN_4D14999B-87DB-4874-ACB9-B3CBD87B2936');
?>
`
In this example, the first parameter is the Niki project id, and the second parameter is the Niki housetype id.
Include the niki-functions.php
in your page template and call the listing example function like so:
`
get_plugin_path() . "examples/niki-functions.php";
niki_show_aanbod();
?>
`
This will generate a listing of all housetypes in the projects selected in the admin configuration.
Include the niki-functions.php
in your page template (if you dit not do already so), and show the form:
`
get_plugin_path() . "examples/niki-functions.php";
niki_show_interesse();
?>
`
Given any Niki API resource, you can access the Niki API by the following code: ` get_niki_resource($resource, array()); // empty parameter array, not needed here // display the contents of $myProject var_dump($myProject); ?> `