<a class="exit-off-canvas"></a>
</div> <!-- inner-wrap -->
</div> <!-- off-canvas-wrap -->
+ <?php wp_footer();?>
+ <script src="<?php bloginfo('template_url'); ?>/js/vendor/jquery.js"></script>
+ <script src="<?php bloginfo('template_url'); ?>/js/foundation.min.js"></script>
+ <script>
+ jQuery(window).resize( function() {
+ if(jQuery(window).width() <= 640) {
+ jQuery("#logo").attr("src","<?php echo get_template_directory_uri();?>/assets/logo-small2.jpg");
+ } else {
+ jQuery("#logo").attr("src","<?php echo get_template_directory_uri();?>/assets/logo.gif");
+ }
+ });
+ jQuery("#content").attr("class","small-12 medium-9 columns").attr("id","main");
+ jQuery(document).foundation();
+ jQuery(document).ready(function(){
+ console.log('loading...');
+ jQuery('.off-canvas-list ul.children').before('<a class="toggle" href="#"></a>');
+ jQuery('.off-canvas-list').find('a.toggle').click(function(){
+ jQuery(this).toggleClass('open');
+ jQuery(this).siblings('ul').toggleClass('open');
+ });
+ });
+ </script>
</body>
-
</html>
-<?php wp_footer();?>
-<script src="<?php bloginfo('template_url'); ?>/js/vendor/jquery.js"></script>
-<script src="<?php bloginfo('template_url'); ?>/js/foundation.min.js"></script>
-<script>
- jQuery(window).resize( function() {
- if(jQuery(window).width() <= 640) {
- jQuery("#logo").attr("src","<?php echo get_template_directory_uri();?>/assets/logo-small2.jpg");
- } else {
- jQuery("#logo").attr("src","<?php echo get_template_directory_uri();?>/assets/logo.gif");
- }
- });
- jQuery("#content").attr("class","small-12 medium-9 columns").attr("id","main");
- jQuery(document).foundation();
- jQuery(document).ready(function(){
- console.log('loading...');
- jQuery('.off-canvas-list ul.children').before('<a class="toggle" href="#"></a>');
- jQuery('.off-canvas-list').find('a.toggle').click(function(){
- jQuery(this).toggleClass('open');
- jQuery(this).siblings('ul').toggleClass('open');
- });
- });
-</script>