First hope you will take a look example widget http://pastebin.com/2cL7BmgF
There have male and female option. Let say I select male and I want add male.css to wp_head
When I put something like this into the code it's not working.
add_action('wp_head','load_face');
function load_face() {
wp_enqueue_style('style', WP_PLUGIN_URL . '/sample/'.$sex.'.css', null, null, 'screen');
}
Let me know what is the correct code to archive my goal. :)