I have some custom post types. Let's call them
On the frontend I want to add a link for the authorized users to edit the custom post. That is not a problem - that works with
For deletetion I could create
post.php?post=[post_ID]&action=trash, but it seems that a nonce is needed. Which is good. I don't want the user to accidentally delete the post. When I use a nonce, I think the post gets deleted - straight forward.
That's not what I want, instead I want another link to be added on the frontend of the page which leads to the edit view in the dashboard - let's label it "manage post". Using
edit.php?post_type=[apple|banana|pear] is quite nice, but I want to generate a link on the frontend to an edit view where only the specific post is listed, i.e. the view is limited to a single ID.
What is the correct syntax to filter the edit view?
&post_id=1337 similar did not work. How can this be accomplished, if it all?
Edit: I added a picture to clarify what I mean. I want to reduce the view to show only a specific post, e.g. here the first one with