How do I find the footer.php file in the Icon theme

I’m having trouble finding the footer.php file because it is nested so deeply within the x-theme files. What is the path to find that file. When I open the footer.php in the root of the site, I only see the following:

<?php x_get_view( 'footer', 'base' ); ?>

/////Edit/////

Actually, I managed to find this file, but I was thinking i was going to find the closed body tag there

</body>

but I don’t see it there. I need to add some analytic code just before the closing of the body tag. What file has the closing of the body tag, and how do I find that file?

Disregard this, as I figured it out. I just added the analytic code via a function. If anyone else needs the solution, it is below:

function drip_analytics() {
?>
   ...your script goes here...
<?php
}

add_action( 'wp_footer', 'drip_analytics', 99999 );

Thanks for sharing!

Hi Bam,

It’s located in wp-content\themes\x\framework\legacy\cranium\footers\views\global\_footer.php

Plesae follow Customizations Best Practices

Thanks