<?php /* Template Name: Add testimonial */ ?>
<?php
acf_form_head();
get_header();
?>
<?php
acf_form(array(
'post_id' => 'new_post',
'post_title' => false,
'post_content' => true,
'new_post' => array(
'post_type' => 'testimonial',
'post_status' => 'draft'
),
'return' => home_url('thank-you'),
'submit_value' => 'Опубликовать'
));
?>
<?php get_footer(); ?>