- Contributors: Roosa Virta
- Tags: plugin, WordPress, api, traficom
- Tested up to: 6.1
- Stable tag: 1.0.0
- License: GPL-2.0-or-later
- License URI: https://www.gnu.org/licenses/gpl-2.0.html
The Traficom Block is a WordPress plugin that allows users to display car inspection data based on the year and car model. It fetches data from the Traficom API and displays the data in a responsive DataTable.
-
Creates a Traficom Data Block which displays inspection data based on the selected year and car model(s)
-
Fetches data from the Traficom API and displays it in a responsive DataTable
-
Provides dropdowns for selecting a specific inspection year and one or more car models
-
Automatically updates the table when the year or car model selection is changed
-
Creates WP REST API endpoints:
/wp-json/traficom-api/v1/disqualified-cars/for fetching disqualified cars data based on the given year and car model(s)/wp-json/traficom-api/v1/dropdown-values/for fetching the values for the year and car model dropdowns
- WordPress 5.8 or later
- PHP 7.0 or later
- Download the plugin's zip file.
- In your WordPress admin area, navigate to
Plugins>Add New. - Click the
Upload Pluginbutton at the top of the page. - Click
Choose Fileand select the downloaded zip file. - Click
Install Nowand wait for the plugin to be installed. - After the installation is complete, click
Activate Plugin.
After activating the plugin, you can use the Traficom Data block in the Gutenberg editor. Add the block to your desired location on a post or page. The block will display a table with katsastus data based on the selected year and car model(s).
- Initial release
Tavuttaja is licensed under the GPLv2 or later. See LICENCE for more information.
This plugin was created by Roosa Virta.