Files
chaffe-theme/footer.php
2025-05-13 10:57:29 -07:00

20 lines
872 B
PHP

<?php
// This file should close out the <body> tag and will be used by WordPress
// at the end of each page render. Make sure your handlebars template includes
// the helper {{#wp-footer}} otherwise you should call wp_footer() here in the
// php file.
echo site()->render("footer", [
"menu" => site()->renderMenu("footer-nav"),
"address_1" => get_field("address_1", "options"),
"address_2" => get_field("address_2", "options"),
"city" => get_field("city", "options"),
"state" => get_field("state", "options"),
"zip" => get_field("zip", "options"),
"phone_1" => get_field("phone_1", "options"),
"phone_2" => get_field("phone_2", "options"),
"contact_email" => get_field("contact_email", "options"),
"sub_footer_logo" => do_shortcode("[m-financial-logo]"),
"sub_footer_content" => get_field("footer_disclosures", "options"),
]);