Skip to content

Commit

Permalink
adding query counter to defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
CK Hicks committed Jun 20, 2016
1 parent d847b5e commit 5996e27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<?php wp_footer(); ?>

<?php if ( WP_ENV != 'production' ) : ?>
<div style="position:fixed;right:0;bottom:0;padding:5px;background:#fff;z-index:99999;"><?php echo get_num_queries(); ?></div>
<script type='text/javascript'>
(function (d, t) {
var bh = d.createElement(t), s = d.getElementsByTagName(t)[0],
Expand Down

0 comments on commit 5996e27

Please sign in to comment.