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
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
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.
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.
My issue is resolved now. Thank you!