Support

Account

Home Forums ACF PRO Front end form embedded content

Unread

Front end form embedded content

  • Support

    Search forum topics & documentation…

    holdsl
    ProfileSignout
    Home › Forums › General Issues ›
    Unread
    Front end form user embeds

    holdsl
    January 14, 2019 at 9:51 pm
    Hi

    I am looking for a way to allow my users to post embedded content from common sources, for instance YouTube, Instagram, Twitter, Pinterest etc. I created a front-end form and set:

    ‘post_id’ => ‘user_’ . $current_user->ID,
    ‘kses’ => true,
    ‘field_groups’ => array(414),
    ‘form’ => true,
    ‘submit_value’ => ‘Save / update changes’
    This worked for a while, but has now stopped and it’s stripping out all the embed code again. I think this may have happened around the time of the last WordPress updated to v5 but I’m not 100% sure. In any case it’s just not working any more.

    Further to this, I guess allowing users to post such content can be a bit of a security issues so was wondering if there was any alternative anyone can suggest? I have tried using the oEmbed field type but that also doesn’t pull in any content via the front end form – I just get a blank output.

    Is anyone else facing these issues since the last big WP update?

    I’m using the latest version of ACF Pro and WP. All other fields in the form will save data, so its not an issue with the form just not saving anything – it is only this embedded content that is problematic.

    Cheers

Viewing 1 post (of 1 total)

The topic ‘Front end form embedded content’ is closed to new replies.