Source

elbee-elgee / functions.php

Diff from to

File functions.php

 if ( is_dir($layout_path) ) {
 	if ($layout_dir = opendir($layout_path) ) { 
 		while ( ($file = readdir($layout_dir)) !== false ) {
-			if ( !substr_compare($file, ".css", (strlen($file) - 4)) ) {
+			//if ( !substr_compare($file, ".css", (strlen($file) - 4)) ) {
+			if(stristr($file, ".css") !== false) {
 				array_push($layouts, $file);
 			}
 		}