Problem: I would like to display an edit post Form in a custom Page, not a Content Template. I would like to create a custom Edit Post link to this Page so that the correct post is edited in the edit post Form.
Solution: It is possible with some limitations. You can create your own edit post page and style it however you want with headers and footers. Next, create a View of this specific post type. Add a post ID filter, set by a URL parameter.
Now place your edit post Form in the loop of the View, and place the View in your edit post page. Now you can create a custom edit post link in a View of posts using the post ID and post title shortcodes, like this:
<a href="/your-edit-post-page/?post_ids=[wpv-post-id]">Edit [wpv-post-title]</a>
A few limitations here:
- The View must not have filters or pagination
- The View must not use AJAX
- The Form must not use AJAX
- The built-in "edit post link" cannot be used here, only a custom link like the one shown above.
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 |
---|---|---|---|---|---|---|
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)
This topic contains 2 replies, has 2 voices.
Last updated by 5 years, 1 month ago.
Assisted by: Christian Cox.