Reply To: Need help to put a default form to each accommodation.

prefix .”postmeta WHERE meta_key=’reservations_releated_post’ value='”.get_the_ID();.”‘”;
global $wpdb;
$checkQuerry = $wpdb->get_results($sql);
$easy_res_id = $checkQuerry[0]->post_id;
do_shortcode(‘[easy_form style=”none” room=”‘.$easy_res_id.'” redirect=”/thank-you-page/” submit=”Sent” price=”1″]’);
?>