Site logo

Archived topic

Tutorial for frontend post editing with advanced custom fields in GeneratePress

1 reply · Started by Dennis on May 10, 2021

Viewing posts 1–2 of 2

Hey,

I would like to give post authors the opportunity to edit their post via the frontend and found the Advanced Custom Fields plugin:
https://www.advancedcustomfields.com/resources/create-a-front-end-form/

Can someone recommend or is aware of a good tutorial for this task with GeneratePress? Do I need to patch a lot of theme files, I wonder what is the best practice for this.

I image a big Edit button for the post author and then have them edit just some defined ACF fields in an overlay or so.

Any helpful tips welcome! Thank you!

Hi there,

This is way outside of the theme's scope but to help you out:

This seems like a bad idea. You're basically opening your site up to potential security risk.

Plus, it's a bad structure. Some parts are not exactly practical since you'll still have to authenticate which one user can submit on which post. It's literally the same thing as asking someone to log in. You might as well do just that.

That said, it's better to set the role permission of users that are post authors if your worry is that you don't want them to be able to access admin menu settings on the backend.

This archived topic is closed to new replies.