<?php versioned_stylesheet($GLOBALS["TEMPLATE_RELATIVE_URL"] . "html5-boilerplate/css/normalize.css"); ?> <?php versioned_stylesheet($GLOBALS["TEMPLATE_RELATIVE_URL"] . "html5-boilerplate/css/main.css"); ?> <!-- Wordpress Templates require a style.css in theme root directory --> <?php versioned_stylesheet($GLOBALS["TEMPLATE_RELATIVE_URL"] . "style.css"); ?> <!-- All JavaScript at the bottom, except for Modernizr which enables HTML5 elements & feature detects --> <?php versioned_javascript($GLOBALS["TEMPLATE_RELATIVE_URL"] . "html5-boilerplate/js/vendor/modernizr-2.6.1.min.js"); ?> <!-- Wordpress Head Items --> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?> " /> <?php wp_head(); ?> </head> <body <?php body_class();
?> <!--[if lt IE 7 ]> <?php versioned_javascript($GLOBALS["TEMPLATE_RELATIVE_URL"] . "html5-boilerplate/js/dd_belatedpng.js"); ?> <![endif]--> <!-- yui profiler and profileviewer - remove for production --> <!-- <?php versioned_javascript($GLOBALS["TEMPLATE_RELATIVE_URL"] . "html5-boilerplate/js/profiling/yahoo-profiling.min.js"); ?> <?php versioned_javascript($GLOBALS["TEMPLATE_RELATIVE_URL"] . "html5-boilerplate/js/profiling/config.js"); ?> --> <!-- end profiling code --> <!-- asynchronous google analytics: mathiasbynens.be/notes/async-analytics-snippet change the UA-XXXXX-X to be your site's ID --> <!-- WordPress does not allow Google Analytics code to be built into themes they host. Add this section from HTML Boilerplate manually (html5-boilerplate/index.html), or use a Google Analytics WordPress Plugin--> <?php wp_footer(); ?> </body>
/** * Displays the 'omega-slider' sidebar slider * */ function omega_slider() { //reasons to fail if (!function_exists('twc_initialize')) { _e('<p>Omega Slider requires the <a href="http://www.totalwidgetcontrol.com">Total Widget Control</a> Plugin.</p>'); return false; } if (!function_exists('dynamic_sidebar')) { return false; } if (!($slides = twc_get_sidebar('omega-slider'))) { return false; } $slider = versioned_stylesheet('slider/css/omega-slider.css') . '<div id="omega-slider" class="omega-height omega-width">' . '<div id="omega-left" class="omega-height" style="display:none;"><span><</span></div>' . '<div id="omega-inside" class="omega-height omega-width" style="display:none;">' . '<div id="omega-insider" class="omega-height">' . $slides . '</div>' . '</div>' . '<div id="omega-right" class="omega-height" style="display:none;"><span>></span></div>' . '</div>' . versioned_javascript('slider/js/omega-slider.js'); switch ($omega_slider_theme = get_option('omega-slider-theme', 'default')) { default: echo versioned_stylesheet('slider/css/themes/default/default.css'); break; } echo $slider; }
<!-- Javascript at the bottom for fast page loading --> <!-- Grab Google CDN's jQuery. fall back to local if necessary --> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script> <script>window.jQuery || document.write('<script src="<?php echo $GLOBALS["TEMPLATE_RELATIVE_URL"]; ?> js/vendor/jquery-1.8.0.min.js"><\/script>')</script> <?php versioned_javascript($GLOBALS["TEMPLATE_RELATIVE_URL"] . "html5-boilerplate/js/plugins.js"); ?> <?php versioned_javascript($GLOBALS["TEMPLATE_RELATIVE_URL"] . "html5-boilerplate/js/main.js"); ?> <!-- asynchronous google analytics: mathiasbynens.be/notes/async-analytics-snippet change the UA-XXXXX-X to be your site's ID --> <!-- WordPress.com does not allow Google Analytics code to be built into themes they host. Add this section from HTML Boilerplate manually (html5-boilerplate/index.html), or use a Google Analytics WordPress Plugin--> <!-- Google Analytics: change UA-XXXXX-X to be your site's ID. --> <script> var _gaq=[['_setAccount','UA-XXXXX-X'],['_trackPageview']]; (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0]; g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js'; s.parentNode.insertBefore(g,s)}(document,'script')); </script>