gulp-web/roomwithavw-custom.php

21 lines
721 B
PHP

<?php
/**
* Plugin Name: Roomwithavw Custom
* Description: Custom code for roomwithavw.co.uk
* Author: Ray Elliott
* Author URI: https://rayelliott.dev
* Text Domain: roomwithavw-custom
* Domain Path: /languages
* Version: 0.1.0
*
* @package Roomwithavw_Custom
*/
function roomwithavw_custom_add_scripts() {
wp_register_script( 'roomwithavw-custom-script', plugins_url( 'assets/js/index.js', __FILE__ ), array(), '1.0', true );
wp_enqueue_script( 'roomwithavw-custom-script' );
wp_enqueue_style( 'roomwithavw-custom-styles', plugins_url( 'assets/css/style.css', __FILE__ ), '', '1.0' );
}
add_action( 'wp_enqueue_scripts', 'roomwithavw_custom_add_scripts' );