Support Forum
My wordpress site is managed by a third-party membership script (WP-Members) and if a user clicks on the 'forgotten password' link in SP, they are re-directed to the standard WP log in page. I should like to alter this so that they are actually re-directed to the alternative page that my membership plug-in provides. Can anyone tell me, please, which SP file I need to look at to accomplish this small change? TIA
OK - V5 is theme and template driven so what you will need to do is make an edit to the spHead.php template in the templates folder of the SP theme you are using.
When you have the file - you will see at the top a block labelled 'login form - object definition'. You will need to add a line to this block. IMPORTANT NOTE: Notice all iines must end with a comma except for the last line so make sure you stick to this rule. You can out this new line anywhere n he block.
This is what you need to enter:
'passwordLink' => site_url('wp-login.php?action=lostpassword', 'login'),
except you will want to change the url from the default 'wp-login.php?action=lostpassword' to whatever the url you require is.
As always we recommend that you create your own SP theme so that any customisation is not lost during a future update. (http://codex.simple-press.com/.....g-a-theme/)
YELLOW
SWORDFISH
|
1 Guest(s)