Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Remove Javascript LESS compiling.

  • Loading branch information...
commit b2af7882b702dd8697878e32591930e1bf194fa3 1 parent 2abdec2
Terry Sutton authored February 16, 2012
1  footer.php
@@ -24,7 +24,6 @@
12  functions.php
@@ -34,6 +34,18 @@ function xx_load_my_scripts() {
34 34
 add_action('wp_enqueue_scripts', 'xx_load_my_scripts');
35 35
 
36 36
 
  37
+/* Add page slug to body class */ 
  38
+function add_body_class( $classes ){
  39
+    global $post;
  40
+    if ( isset( $post ) ) {
  41
+        $classes[] = $post->post_type . '-' . $post->post_name;
  42
+    }
  43
+    return $classes;
  44
+}
  45
+add_filter( 'body_class', 'add_body_class' );
  46
+
  47
+
  48
+
37 49
 if ( ! function_exists( 'toolbox_setup' ) ):
38 50
 /**
39 51
  * Sets up theme defaults and registers support for various WordPress features.
4  header.php
@@ -47,9 +47,7 @@
47 47
 	?></title>
48 48
 <link rel="profile" href="http://gmpg.org/xfn/11" />
49 49
 
50  
-
51  
-<link rel="stylesheet/less" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/style.less" />
52  
-<script src="<?php echo get_template_directory_uri(); ?>/js/less-1.1.5.min.js" type="text/javascript"></script>
  50
+<link rel="stylesheet" href="<?php bloginfo('stylesheet_url');?>" type="text/css" media="screen, projection" />
53 51
 
54 52
 
55 53
 <?php if ( is_singular() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); ?>
17  style.less
@@ -570,6 +570,23 @@ article.comment {
570 570
 
571 571
 
572 572
 
  573
+/* =Group/Clearfix
  574
+-------------------------------------------------------------- */
  575
+.group:before,
  576
+.group:after {
  577
+    content:"";
  578
+    display:table;
  579
+}
  580
+.group:after {
  581
+    clear:both;
  582
+}
  583
+.group {
  584
+    zoom:1; /* For IE 6/7 (trigger hasLayout) */
  585
+}
  586
+
  587
+
  588
+
  589
+
573 590
 ::selection 	 	{background: rgb(255,255,158);}
574 591
 ::-moz-selection 	{background: rgb(255,255,158);}
575 592
 img::selection 		{background: transparent;}

0 notes on commit b2af788

Please sign in to comment.
Something went wrong with that request. Please try again.