22 lines
595 B
PHP
22 lines
595 B
PHP
<?php
|
|
/** Template Name: Contact Template */
|
|
|
|
get_header();
|
|
|
|
echo site()->render("contact", [
|
|
...site()->getCurrentPost([
|
|
"thumbnail",
|
|
"content",
|
|
]),
|
|
"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"),
|
|
]);
|
|
|
|
get_footer();
|