Compare commits

..

4 Commits

Author SHA1 Message Date
jfig f52a1a60e3 chage os CSS style file to reflct new project name 2025-06-01 18:52:45 +01:00
jfig 7bdb9df5f4 config file name change to reflect new project name 2025-06-01 18:49:39 +01:00
jfig 310cc2a009 File name change to match project renaming 2025-06-01 18:45:27 +01:00
jfig a1e856c008 project renaming 2025-06-01 18:44:06 +01:00
4 changed files with 6 additions and 4 deletions
+4 -2
View File
@@ -1,3 +1,5 @@
# wp-api-consumer # WordPress SpaceAPI Consumer
Small WprdPress plugin to consume an API # wp-spaceapi-consumer
Small WordPress plugin to consume an SpaceAPI endpoint and indicate on the WordPress website if the Space is Open or Closed
@@ -24,7 +24,7 @@ if ( ! defined( 'ABSPATH' ) ) {
| still works outofthebox. | still works outofthebox.
*/ */
$config_file = plugin_dir_path( __FILE__ ) . 'door-status-config.php'; $config_file = plugin_dir_path( __FILE__ ) . 'wp-spaceapi-consumer-config.php';
if ( file_exists( $config_file ) ) { if ( file_exists( $config_file ) ) {
require_once $config_file; require_once $config_file;
} }
@@ -139,7 +139,7 @@ function dsi_enqueue_assets() : void {
// register & enqueue the standalone CSS file // register & enqueue the standalone CSS file
wp_enqueue_style( wp_enqueue_style(
'door-status-indicator', 'door-status-indicator',
plugins_url( 'door-status.css', __FILE__ ), plugins_url( 'wp-spaceapi-consumer-style.css', __FILE__ ),
[], // no dependencies [], // no dependencies
'1.0.0' // file version '1.0.0' // file version
); );