Support

Account

Home Forums Front-end Issues Display taxonomy field on acf_form

Helping

Display taxonomy field on acf_form

  • Hello,
    I’m trying to create a frontend content submission form.
    I miss the display of taxonomy fields added to my content type.
    I’m missing something can you help me?

    <?php
    /*
    Template Name: Post doc acf
    */
    acf_form_head();get_header();?>
    <div id="content">
        
        <?php
        
        acf_form(array(
            'post_id'       => 'new_post',
            'post_title'    => true,
            'new_post'      => array(
                'post_type'     => 'document',
                'post_status'   => 'publish',
            )
        ));
        
        ?>
        
    </div>
    
    <?php get_footer(); ?>

    my cpt ‘document’ has a taxonomy ‘folder’.
    I have to create an ACF taxonomy field?

    thanks

  • I respond to myself.
    I added a taxonomy relational ACF field linked to my taxonomy.
    And it’s OK

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

You must be logged in to reply to this topic.