getScripts(); $scriptDeclarations = $this->getScriptDeclarations(); $styles = $this->getStyles(); $styleDeclarations = $this->getStyleDeclarations(); // Scripts before the template ones if(!empty($scripts)) foreach($scripts as $url => $params) { if($params['before']) { echo "\t\n"; } } } $wpVersion = get_bloginfo('version', 'raw'); if (version_compare($wpVersion, '4.0', 'lt')): // Template scripts ?> $params) { if(!$params['before']) { echo "\t\n"; } } // onLoad scripts ?> $content) { echo "\t"; } // CSS files before the template CSS if(!empty($styles)) foreach($styles as $url => $params) { if($params['before']) { $media = ($params['media']) ? "media=\"{$params['media']}\"" : ''; echo "\t\n"; } } ?> $params) { if(!$params['before']) { $media = ($params['media']) ? "media=\"{$params['media']}\"" : ''; echo "\t\n"; } } // Script declarations if(!empty($styleDeclarations)) foreach($styleDeclarations as $type => $content) { echo "\t"; } ?>