Skip Navigation

[Resolved] Allow members to edit their posts in form without showing formatted post below

This thread is resolved. Here is a description of the problem and solution.

Problem:

I'd like only display the Toolset form for editing post without post content.

Solution:

You are using Toolset Layouts plugin in your website, so you can follow our document to setup the edit link.

Relevant Documentation:

https://toolset.com/documentation/getting-started-with-toolset/publish-content-from-the-front-end/building-forms-for-editing-when-using-layouts/

This support ticket is created 5 years, 10 months ago. 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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 4 replies, has 2 voices.

Last updated by Purchasing WCER 5 years, 10 months ago.

Assisted by: Luo Yang.

Author
Posts
#1216526

I am trying to: I'd like only the form to show

Link to a page where the issue can be seen:hidden link

I expected to see: only the form, without the formatted previous post below it

Instead, I got: both

#1216778

Hello,

I have tried the credentials you provided above, it is not valid, I get this error:
ERROR: Invalid username

Please check it.

I assume we are talking about a Toolset form for editing post, the URL you mentioned above seems to be an edit link produced by shortcode [toolset-edit-post-link].

It might be a compatibility problem, some theme does not use wordpress built-in function the_content to render the post content, I suggest you check this:
Deactivate other plugins, and switch to wordpress default theme 2019, and test again

#1217054

The credentials should work now.

The form works fine and this site is in production so theme switching and plugin deactivation isn't an option.

I just don't want the published post to show below the editing form.

#1217352

You are using Toolset Layouts plugin in your website, so you can follow our document to setup the edit link:
https://toolset.com/documentation/getting-started-with-toolset/publish-content-from-the-front-end/building-forms-for-editing-when-using-layouts/

I have done below modifications in your website:
1) Create a layout "edit-single-promising-practice-post", display the edit post form "Edit Promising Practice":
hidden link

2) Edit the layout for single "Promising Practice" post:
hidden link
in the bottom, add a visual editor cell, and display the edit link:

<p>[toolset-edit-post-link layout_slug="edit-single-promising-practice-post"]Edit %%POST_TITLE%% with a Toolset Form[/toolset-edit-post-link]</p>

3) Test it in front-end:
hidden link
at the page bottom, click link "Edit Recruitment and Retention of Faculty and Staff of Color with a Toolset Form"
it redirect me to URL:
hidden link

It works fine, the post content does not show below the editing form.

More help:
https://toolset.com/documentation/user-guides/cred-shortcodes/#toolset-edit-post-link
Outputs the link to a Toolset Form for editing a post.

#1218311

My issue is resolved now. Thank you!