I am creating (or better trying) to create my first WordPress theme using Less.
What I am doing is using a script like this in my functions.php
wp_register_style('screen_css', get_bloginfo('template_url') . '/css/screen.less', array(), false, 'screen'); wp_enqueue_style('screen_css');
and the result is as follows:
<link rel='stylesheet' id='stigma_screen-css' href='http://www.stigmahost.dch/wp-content/themes/stigmahost/css/screen.less?ver=1.0' type='text/css' media='screen' />
The question is, can I somehow change rel = "stylesheet" when I use the wp_register_style () function?
Merianos nikos
source share