Commits

Doug Stewart committed ed07e24

Filter LESS variables for great justice.

  • Participants
  • Parent commits 535d070
  • Branches develop

Comments (0)

Files changed (1)

includes/functions/hooks.php

  * @return array 
  */
 function lblg_less_vars( $vars, $handle ) {
-	// $vars['layout'] = '3-columns-fixed-sb-right';
-	$vars['layout'] = '3-columns-fixed-sb-right';
-	 // $vars['wrapperwidth'] = '50%';
-	// $vars['primarysbwidth'] = '600px';
-	// $vars['containerwidth'] = "960px";
-	// $vars['primarysbwidth'] = $vars['secondarysbwidth'] = "60%";
-	// 	$vars['footerwidth'] = "100%";
-	return $vars;
+	global $lblg_options;
+	$vars['layout'] = $lblg_options['layout_stylesheet'];
+
+	return apply_filters( 'lblg_less_vars', $vars );
 }
 add_filter( 'less_vars', 'lblg_less_vars', 10, 2 );