mailferno-theme/footer.php
2024-12-26 12:33:40 -06:00

89 lines
1.8 KiB
PHP

<?php
/**
* The template for displaying the footer.
*
* @package GeneratePress
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
?>
</div>
</div>
<?php
/**
* generate_before_footer hook.
*
* @since 0.1
*/
do_action( 'generate_before_footer' );
?>
<div <?php generate_do_attr( 'footer' ); ?>>
<?php
/**
* generate_before_footer_content hook.
*
* @since 0.1
*/
do_action( 'generate_before_footer_content' );
/**
* generate_footer hook.
*
* @since 1.3.42
*
* @hooked generate_construct_footer_widgets - 5
* @hooked generate_construct_footer - 10
*/
do_action( 'generate_footer' );
/**
* generate_after_footer_content hook.
*
* @since 0.1
*/
do_action( 'generate_after_footer_content' );
?>
</div>
<?php
/**
* generate_after_footer hook.
*
* @since 2.1
*/
do_action( 'generate_after_footer' );
wp_footer();
?>
<!-- <script>
// $.noConflict();
jQuery(document).ready(function(){
console.log("jQuery Loaded");
jQuery('.widget_nav_menu .menu-item-has-children > a').hover(
function() {
var submenu = jQuery(this).siblings('.sub-menu');
submenu.removeClass('sliding-up').addClass('sliding-down').show();
},
function() {
var submenu = jQuery(this).siblings('.sub-menu');
setTimeout(function() {
if (!submenu.is(':hover')) {
submenu.removeClass('sliding-down').addClass('sliding-up');
setTimeout(function() {
if (submenu.hasClass('sliding-up')) {
submenu.hide();
}
}, 300); // Match animation duration
}
}, 200);
}
);
});
</script> -->
</body>
</html>