Hello,
Thanks, I appreciate for your help.
One last question:
I see that the following is working just fine:
add_post_meta($post_id, 'wpcf-price',$price);
add_post_meta($post_id, 'wpcf-city','$city');
add_post_meta($post_id, 'wpcf-state','TX');
But how can I set up the template name?
By default the Content Template is: "Page – Sidebar".
But I would like to have "Property – Sidebar".
This is not working:
add_post_meta($post_id, 'view_template','Property – Sidebar');
Thanks,
Gabor