Advertisement
Guest User

Untitled

a guest
Aug 18th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.30 KB | None | 0 0
  1. function neuro_add_css() {
  2. $options = get_option('neuro');
  3. $color = $options[('ne_color')];
  4. $tdurl = get_template_directory_uri();
  5.  
  6.  
  7.     if ( $color == 'grey'){
  8.  
  9.     echo '<link rel="stylesheet" href="$tdurl/library/css/grey.css" type="text/css" />';
  10.     }
  11.    
  12. }
  13. add_action( 'wp_head', 'neuro_add_css');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement