Change link in top bar from login modal

Posted in: Newspaper
Post count: 7

When a user is logged in, the registration/login modal in the top bar links to the user’s profile (i.e. /users/joe). Can I change this to let’s say /account? I run Memberpress on my site and I would like to show the user’s Memberpress account instead of their standard (WordPress) user profile.

Same goes for the link to Create New Account (also on the login modal). I would like to link this to a specific page that contains all the subscriptions.

Post count: 20688

Hi,

The link for the username displayed in the top bar when the user is logged in, is defined in this file
https://www.screencast.com/t/QKny3uZ3oYfu
You could modify the link to what you want. The link for the create an account in the modal is here, you could modify that as well
https://www.screencast.com/t/rrh9Zbv7

Thanks

Post count: 7

Thanks so much Simion!

Post count: 7

Only on mobile devices the username in the topbar still links to the default /users/username instead of to the new link that I put in the code. Any ideas on how to fix this?

And on your second modification that you sent me for the Create Account link, what part of the code do I put the new link in? Is it the “register-link” that I change to the new url?

Post count: 23312

Hello joram,

Please provide your website URL. Do you use Mobile Theme plugin?

Thanks for your understanding!

Post count: 7

https://www.youngclassicals.com

I do not use the mobile theme plugin.

Post count: 35449

Hi,

For the mobile you need to make some changes in newspaper>mobile>parts>register.php/menu-mobile.php/login.php
https://www.screencast.com/t/x8GGNArou
Hope this will help you.

Thank you.

Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newspaper’ is closed to new topics and replies.