示例#1
0
		</div><!-- #main -->

		<?php 
get_template_part('template-parts/footer', 'subfooter');
// Loads the template-parts/footer-subfooter.php template.
?>

		<?php 
get_template_part('template-parts/footer', 'footer');
// Loads the template-parts/footer-footer.php template.
?>

		<?php 
get_template_part('template-parts/footer', 'postfooter');
// Loads the template-parts/footer-postfooter.php template.
?>

	</div><!-- #page-wrapper -->

	<?php 
hoot_developer_data();
?>

	<?php 
wp_footer();
// WordPress hook for loading JavaScript, toolbar, and other things in the footer.
?>

</body>
</html>
示例#2
0
/**
 * Add debug info if HOOT_DEBUG is true
 *
 * @since 2.0.0
 * @access public
 */
function hoot_add_debug_info()
{
    if (current_user_can('manage_options')) {
        echo "\n<!-- HOOT DEBUG INFO-->\n";
        if (function_exists('hoot_developer_data')) {
            echo "\n<!-- " . hoot_developer_data() . "-->\n";
        }
        $info = defined('HOOT_DEBUG') && true === HOOT_DEBUG ? hoot_debug_info('', true) : '';
        if ($info) {
            echo "<!--\n" . $info . "\n-->";
        }
    }
}