WP-BMKG Custom API
WP-BMKG Custom API
by Raksaka Indra · github.com/infobmkg/wca-bmkg-plugin · website
★ 3stars
110release downloads
≈10active sites
0forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/infobmkg/wca-bmkg-plugin/releases/download/v1.10/wca-bmkg-plugin.zipDeclares an update source (https://github.com/infoBMKG/wca-bmkg-plugin/), so updates arrive through the plugin's own updater.
From the readme
WP-BMKG Custom API (wca-bmkg-plugin)
Plugin WordPress untuk custom REST API endopoint untuk post, page, dan search. Plugin ini melakukan custom endpoint URL pada response REST API berikut:
1. List post cat
2. List post tag
3. Single post
4. Search post
5. Search post tag
6. Single page
URL Endpoint
1. List post cat: {site}/wp-json/wca/v1/posts/{category}/{postperpage}/{offset}
2. List post tag: {site}/wp-json/wca/v1/posts-tag/{tagid}/{postperpage}/{offset}
3. Single post: {site}/wp-json/wca/v1/posts/{slug}
4. Search post: {site}/wp-json/wca/v1/search/{category}/{search}/{offset}
5. Search post tag: {site}/wp-json/wca/v1/search-tag/{tagid}/{search}/{offset}
6. Single page: {site}/wp-json/wca/v1/pages/{slug}
Keterangan:
- category: int
- tagid: int
- postperpage: int
- offiset: int
- slug: string [a-zA-Z0-9-]
- search: string
Referensi
https://developer.wordpress.org/rest-api/extending-the-rest-api/adding-custom-endpoints/
Shortcode
Plugin ini juga menambahkan shortcode di editor classic TinyMCE:
1. PDF HTML iframe
2. HTML grid item
Changelog
- v1.0: 12 Mei 2024
- v1.1: 22 Mei 2024
- v1.2: 19 Juni 2024
- v1.3: 30 Juli 2024
- v1.4: 30 Juli 2024
- v1.5: 16 Desember 2024
-
Read the full README on GitHub →
Releases
| Tag | Published | Asset | Downloads |
|---|---|---|---|
| v1.10 | Apr 10, 2026 | wca-bmkg-plugin.zip | 2 |
| v1.9 | Aug 10, 2025 | wca-bmkg-plugin.zip | 7 |
| v1.8 | Apr 26, 2025 | wca-bmkg-plugin.zip | 5 |
| v1.7 | Apr 19, 2025 | wca-bmkg-plugin.zip | 3 |
| v1.6 | Apr 11, 2025 | wca-bmkg-plugin.zip | 3 |
| v1.5 | Feb 23, 2025 | wca-bmkg-plugin.zip | 73 |
| v1.4 | Jul 30, 2024 | wca-bmkg-plugin.zip | 11 |
| v1.3 | Jul 30, 2024 | wca-bmkg-plugin.zip | 4 |
| v1.2 | Jun 19, 2024 | wca-bmkg-plugin.zip | 2 |
| v1.1 | May 22, 2024 | — | — |
| v1.0 | May 12, 2024 | — | — |
Active-site estimate ≈10 comes from the median of recent superseded releases. Method.