WP Manifestindependent plugin directory
manifest / content / tankstellen-koeln-crud

Tankstellen Köln CRUD

Entwicklung eines WordPress-Plugins zur Darstellung von Tankstellen-Daten mit Bootstrap Cards. Erweiterung zur CRUD-Schnittstelle

by Uztzu · github.com/uztzu87/tankstellen-koeln-crud

★ 0stars
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/uztzu87/tankstellen-koeln-crud/archive/refs/heads/main.zip

Tankstellen Köln Plugin

This plugin displays Cologne gas station data as Bootstrap Cards in a Gutenberg block.
It includes search and sort functionality.
A CRUD API extension is provided for managing gas station data.

File Structure

/tankstellen-koeln/ ├── tankstellen-koeln.php ├── includes/ ├── enqueue-scripts.php │ ├── block-registration.php │ └── crud-api.php ├── blocks/ └── block.js ├── assets/ ├── css/ └── tk-styles.css │ └── js/ └── tk-script.js └── README.md

Installation

  1. Upload the plugin folder to /wp-content/plugins/.
  2. Activate the plugin in the WordPress admin.
  3. Use shortcode [tkc_cards]

CRUD API Endpoints

  • GET: /wp-json/tk/v1/tankstellen
  • POST: /wp-json/tk/v1/tankstellen
  • PUT: /wp-json/tk/v1/tankstellen/{id}
  • DELETE: /wp-json/tk/v1/tankstellen/{id}

Note: Permissions are required for POST, PUT, and DELETE operations.