Support

Account

Home Forums Front-end Issues create new taxonomy with acf form not new post Reply To: create new taxonomy with acf form not new post

  • To to this you will need to

    1) set the “new_post” argument to acf_form() something unique, like “new_narocilnice”
    2) Supply the field groups or fields you want to display setting either the “field_groups” or “fields” arguments
    3) Create an acf/pre_save_post filter https://www.advancedcustomfields.com/resources/acf-pre_save_post/ that looks for your unique “new_post” value
    4) Create the term in the your filter
    5) The return post id from your filter needs to be “term_{$term_id}”