Support

Account

Home Forums Front-end Issues Guest Submit Posts (Front-end form)

Solving

Guest Submit Posts (Front-end form)

  • Hello,
    I’m trying to create a form for guests to be able to post.
    I can show the form on the page using the following code:

    $args = array(
    'post_id' => 'new',
    'field_groups' => array(1,2,3,4,5,6,7,8,9,10,11,12,13)
    );
     
    acf_form( $args );

    But the add image(attachment) button does not work, but it appears when you click nothing happens.

    Also I wonder if the guest is possible to add categories or tags using the ACF.

    Thanks and sorry for my terrible English.

  • Hi @ronho

    It is possible that the WP uploader requires you to be logged in to upload any images to the site.

    Perhaps you can use the console log to watch for JS errors one page load and when you click the ‘Add Image’ button.

    Thanks
    E

  • Hi @elliot ,
    I believe it is not, why am I logged and I can not add images through the form on the page.

    Any solution?

    I’m trying to make this function “Guest Posts” using the ACF, but not sure if it really was made for this.

    Is it possible to do this with the ACF?

    Thanks so much for reply.

  • Hi @ronho

    ACF can handle a guest posting data through the acf_form function, however, I can’t yet confirm if you can upload an image without being logged in.

    To find out what is going wrong, please use your console log to look for any JS errors on the page load, click of the image button, and the AJAX response from the button.

    Thanks
    E

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

The topic ‘Guest Submit Posts (Front-end form)’ is closed to new replies.