Hi @w3215,
This edit link is actually shown for users with ‘edit_post’ capability only and can not be overridden from our plugin as this logic is coming from core WP and currently there is no way to alter it.
If you want to show the links to users,Only thing you can do now is instead of using edit_post_link within your theme you need to replace that with the codes within the function directly removing the capability check.
Thanks for bringing this up, I will add this to our plan and will try to come up with some solution that can be integrated within our plugin.
Thanks
Thread Starter
w3215
(@w3215)
Thanks. I have marked users as “contributors” in the WP dashboard. I thought that would give them the ability to write and edit their own posts. However, the edit link does not show. Do the users have to have some other role?
Does the pro version allow for this? (I see that it allows for users to have a “dashboard” that has editing posts as one of the options–seems like this does not currently have an “edit post” link on posts themselves).
Thanks for offering to integrate it within the plugin. I think that for anyone giving users the ability to post off the front end, giving them the ability to edit those posts is important. Your plugin already has the “save draft” feature, which is great, and I assume an edit feature would not be much different.
Thread Starter
w3215
(@w3215)
Just a follow-up: I think I understand the problem better now. I gave a sample user the role of “Author” and this did have an edit link show up on his post. But, when he clicks the edit link, it tries to take him to the WP dashboard edit page–and this does not work because he is not a wordpress user (he is just registered for my site).
So I see that this would require some changes to the plugin or custom coding.
Like I asked before, though: Is there an option in the pro version to address this?
@w3215,
Users can edit their posts from front end without any restriction of their roles. If they can post something they can definitely edit that using that form as well using our plugin.
But they need to do it from the Dashboard Page. Take a look at this.
So, if you are thinking how can users edit posts that they posted is already there and within the FREE plugin.
To see the edit link users need to go to their dashboard where all their posted posts are listed with EDIT and DELETE option.
And to set frontend edit link for non-admin users allow overriding of edit link from settings like this. It will not redirect users to admin page.
Let me know if you have any more questions.
Thanks
Thread Starter
w3215
(@w3215)
Got it. Thanks. I will take a look at that front end dashboard–that is pretty cool. I think the edit link on the post itself would be ideal, but the dashboard can work well until the plugin does that or I custom code it.
This hasn´t been fixed? I mean this is a plugin to create posts from post end, and if the user finds he made a mistake he cannot fix unless he either goes to dashboard and find it or is taken to backend? I think it should be an obvious feature.
Thread Starter
w3215
(@w3215)
Hi,
Following up: any chance the feature has been added? (the feature to allow users to edit their posts from the front end). As prior poster said, if I want users to be able to post from the front end, I have to allow them to also edit from the front end.
Thank you.