Skip Navigation

[Cerrado] How to edit a post created on the frontend?

This support ticket is created hace 4 años, 8 meses. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Este tema contiene 3 respuestas, tiene 2 mensajes.

Última actualización por Christian Cox hace 4 años, 8 meses.

Asistido por: Christian Cox.

Autor
Mensajes
#1567145

I have put an edit link on my single post page on the frontend. This links to the content template that displays the edit post form. It shows up as expected and only for posts by the current user which is great. However, when I click the link, the content of the page remains on the page and the form appears in the main WordPress content area. The page is created in Elementor. Is this normal behaviour? You can see an example post here:

enlace oculto

When editing it, the form appears where it says content and all the other aspects remain

#1568267

Yes unfortunately when Elementor is involved, the post content is also displayed on the same page as the Form to edit that post. It's expected. This is a result of the way Elementor and Toolset's content template system fight for control over who determines what to display on the page.

#1568381

Hi Christian,

So how do I have the edit post form appear on its own page? I dont actually want it to appear on the post page any way.

David

#1568383

You can use the "post" attribute in a cred_form shortcode:

[cred_form form="120" post="145"]

https://toolset.com/documentation/user-guides/front-end-forms/cred-shortcodes/#cred_form

If you place the Form in another page, it will probably involve using a URL parameter to provide the post ID, and using the wpv-search-term shortcode to pass that URL param into the post attribute.

El debate ‘[Cerrado] How to edit a post created on the frontend?’ está cerrado y no admite más respuestas.