Support » Plugin: Paid Memberships Pro » Change login page, edit profile, change password page

  • Resolved e11i0t23

    (@e11i0t23)


    How can i change the links of the login page on the registration checkout form and the edit profile/change password page links on the account page to be other pages on my site, I don’t mind editing code if needed.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • I have managed to achieve this by doing the following:

    
    pages => checkout:
    
        <a href="<?php echo wp_login_url(pmpro_url("checkout", "?level=" . $pmpro_level->id)); ?>"><?php _e('Log in here', 'paid-memberships-pro' );?></a>
    to
        <a href="https://trakkpro.it/login"><?php _e('Log in here', 'paid-memberships-pro' );?></a>
    
    shortcode => account:
    
        <div class="pmpro_actionlinks">
    		<a href="<?php echo admin_url('profile.php')?>" id="pmpro_account-edit-profile"><?php _e("Edit Profile", 'paid-memberships-pro' );?></a>
    		<a href="<?php echo admin_url('profile.php')?>" id="pmpro_account-change-password"><?php _e('Change Password', 'paid-memberships-pro' );?></a>
        </div>
    
    to 
        <div class="pmpro_actionlinks">
    		<a href="https://trakkpro.it/edit-account" id="pmpro_account-edit-profile"><?php _e("Edit Profile", 'paid-memberships-pro' );?></a>
        </div>
    
    • This reply was modified 1 year, 6 months ago by e11i0t23.
    Plugin Author Andrew Lima

    (@andrewza)

    Hi @e11i0t23,

    Thank you for the update, I’m glad to hear you have managed to find a solution and thank you so much for sharing it here for other user’s to find!

    Have a great day further.

    Hi @e11i0t23 and @andrewza,

    Would you mind sharing, where did you edit the code to change the links?

    Hi @e11i0t23

    I found it – so it is hard coded it in /wp-content/plugins/paid-memberships-pro/shortcodes/pmpro_account.php

    I actually duplicated the file in case of updates. Thanks – it was the best solution I found for my issue.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Change login page, edit profile, change password page’ is closed to new replies.