Support

Account

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

Solving

Guest Submit Posts (Front-end form)

    • ronho

    • January 30, 2014 at 10:00 am

    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.

    • Elliot

    • January 30, 2014 at 2:36 pm

    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

    • ronho

    • January 30, 2014 at 4:26 pm

    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.

    • Elliot

    • January 31, 2014 at 12:05 pm

    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)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.