View difference between Paste ID: it69CB89 and PUkq9FdP
SHOW: | | - or go back to the newest paste.
1
$theme_data = wp_get_theme();
2
3
define( 'X_VERSION', $theme_data['Version'] );
4
define( 'X_TMP_DIR', get_template_directory() );
5
define( 'X_TMP_DIR_URI', get_template_directory_uri() );
6
define( 'X_STYLE_DIR', get_stylesheet_directory() );
7
define( 'X_STYLE_DIR_URI', get_stylesheet_directory_uri() );
8
9
function exua_enqueue() {
10
	wp_enqueue_style( 'exua-parent', X_TMP_DIR_URI . '/style.css', array(), X_VERSION, 'all' );
11
}
12
add_action( 'wp_enqueue_scripts', 'exua_enqueue' );