WordPress/wp-footer.php

24 lines
719 B
PHP
Raw Normal View History

<?php
// If a footer.php file exists in the WP root directory we
// use that, otherwise use this default wp-footer.php file.
if ( file_exists(TEMPLATEPATH . '/footer.php') ) :
include_once(TEMPLATEPATH . '/footer.php');
else :
?>
</div>
<?php
// This code pulls in the sidebar:
include(ABSPATH . '/wp-sidebar.php');
?>
</div>
<p class="credit"><!--<?php echo $wpdb->num_queries; ?> queries. <?php timer_stop(1); ?> seconds. --> <cite><?php echo sprintf(__("Powered by <a href='http://wordpress.org' title='%s'><strong>WordPress</strong></a>"), __("Powered by WordPress, state-of-the-art semantic personal publishing platform.")); ?></cite></p>
<?php do_action('wp_footer', ''); ?>
</body>
</html>
<?php endif; ?>