xarxaprod-wp-theme/inc/admin-style.php

12 lines
424 B
PHP
Raw Permalink Normal View History

2024-01-09 16:13:20 +01:00
<?php
/**
* Sets up theme defaults and registers support for various WordPress features.
*/
// Update CSS within in Admin
function xarxaprod_admin_style() {
2024-01-09 16:13:20 +01:00
wp_enqueue_style( 'admin-styles', get_stylesheet_directory_uri() . '/assets/css/adminstyles.css' );
// wp_enqueue_style( 'xarxaprod-theme-styles', get_template_directory_uri().'/style.css');
2024-01-09 16:13:20 +01:00
}
add_action('admin_enqueue_scripts', 'xarxaprod_admin_style');