I have two different footers being used on a WordPress site. One is the standard
footer.phpthe other is for the contact and legal pages and is
Calling them on the relevant page is straightforward enough - I just a use
<?php get_footer('contact'); ?> on the pages where the contact footer is needed.
This 2nd footer design though isn't calling in the scripts. In my functions.php file I use the following, with the last parameter being 'true' which places the JS in the footer.
wp_enqueue_script('main_js', get_theme_file_uri('/js/main.js'), NULL, '1.0', true);
How do I also enqueue my scripts into the second footer i.e.