Hello,
There is two edit links you can use.
1. Found in Dashboard page
2. With posts.
The link on the dashboard page will always take you to the frontend edit page, no matter what.
The link found with your post, let’s say post listing on homepage, archive page or bottom of the single post page loads from your theme. You will see that link regardless you have WPUF installed or not.
If you set the option “override post edit link” found on wp-admin → WP User Frontend → Settings → General to “Yes” then that link will also take you to WPUF edit page.
But if you set that to “No” then it will take you to backend edit page.
If you want to override the dashboard edit link for Admins, then you can override the dashboard template from your theme.
To do that, you need to
- Make a folder named
wpuf
inside your theme and copy paste the template folder from the plugin.
- Now delete all the files except
dashboard.php
. That means, you have created a new folder inside your theme named “wpuf” and inside that a folder named “templates” and inside that, there is a file named “dashboard.php”. So the exact link would be wp-content/themes/themeName/wpuf/templates/dashboard.php
- Now that you have copy pasted the dashboard template on your theme and has the exact code from the plugin, the WordPress system will load the template from your theme instead of the plugin. Any change on the file inside your theme will affect the plugin’s functionality.
- At line 96, there is a variable
$url
you can change it to anything you want. You can place a checkup for admin and place the backend editing link.
Hope this helps. If you need more detailed instruction, feel free to reply.