Support

Account

Forum Replies Created

  • Thank you for your answer – it gave me some ideas :). Yes, rather “or similar”… As I understand it by using pre_save_post you effectively declare post type before saving anything(in hooked function), so I can’t get_post_type before I have any kind of post and that’s because I have both of my end-froms on pages with custom templates, but I can use is_page to know from which of these pages I get my data. But there is another but – I have WPML installed and more than four languages on my website so solution above will bring me to suicidal thoughts. I was hoping to do this using new_post in acf_form(), but there is this problem with post_title. Back to square one.

    Sorry for my bad english.

  • OK. JiveDig’s solution works just fine… but is there a way to do it without using acf/pre_save_post? ACF 5 Pro style? I want to know this because on my website I have two different forms and using acf/pre_save_post is causing conflicts.

Viewing 2 posts - 1 through 2 (of 2 total)