How to edit menu login and mobile menu in Metropolitan PRO?

Posted in: Newspaper
Post count: 14

Dear TagDiv,
I have two questions to seek your help:

1) Can I edit the links of the “menu login”( https://www.gowiselife.com/wp-content/uploads/2022/04/Screen-Shot-2022-04-24-at-5.06.59-PM.png ) , the icon and login settings on the upright corner?

The reason for editing the links is that I found the “menu login” direct all clicks to the pages belong to Metropolitan PRO’s Login/Register – metropolitan_pro pages, etc. What I need is to direct all member related pages to Ultimate Member’s user pages. But I can’t find a way to edit those links.

I could remove this “menu login”, but I do like the design of this login setting, it is one the reason I choose Metropolitan PRO theme. I really do not want to replace it by another menu there.

2)Can we edit the mobile menu in Metropolitan PRO? ​
The mobile menu page is the page appears when users touch the menu icon on the homepage in a mobile phone, the page in my site looks like this: https://www.gowiselife.com/wp-content/uploads/2022/04/IMG_7047.jpg

So far, I can only change the background image and turn on/off the “Sign in / Join”. I hope I can edit the links for those two words(for user logins) , and to redirect them to UM users pages.

Could you help me out?

Thanks!

Post count: 14

Waiting for response. ?

Post count: 35449

Hi,

So, if I understand correctly, in bot situations you want to edit the link only to use the Ultimate Member’s user pages. Unfortunately, the mobile menu and menu login elements do not have an option to set a custom link, so I think that a solution will be if you edit the theme files.

For the menu login you can edit the wp-content/plugins/td-subscription/includes/shortcodes/tds_menu_login.php and replace the code from herf=”” -> https://i.imgur.com/rpwDNeY.png

For the rest of login/register are more modals.
This file wp-content/plugins/td-composer/legacy/Newspaper/parts/header/td-login-modal.php is responsible for the login/register content when the login button is selected.
This file wp-content/plugins/td-composer/legacy/Newspaper/parts/login.php is responsible for the login/register using the responsive version for theme for mobile devices.
This file wp-content/plugins/td-composer/mobile/parts/login.php is responsible for the login/register using the mobile theme plugin layout.
And this file wp-content/plugins/td-composer/mobile/parts/register.phpis responsible with the mobile theme plugin to display the content for login/resister
If you want to change the link from the sign in button you need to edit this file wp-content/plugins/td-composer/legacy/Newspaper/parts/login.php (because you are using the responsive version), what you need to do is to replace the id

What you need to do is to replace the id=”login-link-mob” with href=”your-url” https://i.imgur.com/QiPAxSi.png -> https://i.imgur.com/mlnxJey.png

Hope this will help you!
Thank you!

Post count: 14

Thank you !

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