Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 26cb2bc63c
Fetching contributors…

Cannot retrieve contributors at this time

executable file 42 lines (38 sloc) 1.111 kb
<?php
/**
* Default Footer
*
* @package WP-Bootstrap
* @subpackage Default_Theme
* @since WP-Bootstrap 0.1
*
* Last Revised: February 4, 2012
*/
?>
<footer>
<p class="pull-right"><a href="#">Back to top</a></p>
<p>&copy; <?php bloginfo('name'); ?> <?php the_time('Y') ?></p>
<?php
if ( function_exists('dynamic_sidebar')) dynamic_sidebar("footer-content");
?>
</footer>
</div> <!-- /container -->
<?php wp_footer(); ?>
<script type="text/javascript">
// Adding the class "dropdown" to li elements with submenus //
jQuery(document).ready(function(){
jQuery("ul.sub-menu").parent().addClass("dropdown");
jQuery("ul#main-menu li.dropdown a").addClass("dropdown-toggle");
jQuery("ul.sub-menu li a").removeClass("dropdown-toggle");
jQuery('.navbar-fixed-top .dropdown-toggle').append('<b class="caret"></b>');
});
</script>
<script type="text/javascript">
jQuery(document).ready(function(){
// Don't FORGET: replace all $ with jQuery to prevent conflicts //
jQuery('a.dropdown-toggle')
.attr('data-toggle', 'dropdown');
});
</script>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.