Setting sign in, log in and register pages in sign in/join menu

Posted in: Newsmag
Post count: 3

Hello!

I want to customize the links that are set in the sign in/join menu in Newsmag’s header. I once made it from the user interface but I can’t find the option anymore.

This should be easy to find!

Sign in/Join menu

Post count: 35449

Hi,
Unfortunately, there is no option in the theme for this, you’ll need to manually change the links.
The file path for modal is this one -> wp-content/plugins/td-composer/legacy/Newsmag/parts/header/td-login-modal.php
The file path for the top bar that holds the elements sing in/join is this one -> wp-content/plugins/td-composer/legacy/Newsmag/parts/header/top-menu.php
I hope this will help you!

Post count: 3

I remember I made the change yesterday from the UI… However, I was able to change the link content using jQuery.

Making people change a theme’s file is not a good idea. When theme is updated changes disappear. You should, at least, suggest creating a child theme with an specific function for that!

I paste here the code I’ve used. It can be useful for other users.

jQuery(".tdw-wml-login-link").attr("href", "https://mysite.com/login/");//login link
jQuery(".tdw-wml-register-link").attr("href", "https://mysite.com/register/");//sign up link

Post count: 35449

Hi,
Thank you for sharing with us the option you are using for your website!
Have a nice day!

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