How to Redirect User to Another Page After Logging In Using LOGIN MODAL FORM

Posted in: Newspaper
Post count: 7

Please help how can I redirect a user to another page (account_profile.php) after Logging-in using the NewsPaper Default LOGIN MODAL FORM?

I’ve already read all posts here related to REDIRECT LOGIN. But they’re not working.

Post count: 20688

Hi,

You could try code from a topic I found, there are more online
https://stackoverflow.com/questions/8127453/redirect-after-login-on-wordpress
Check if these work. Or maybe modify the login button in a child theme
https://www.screencast.com/t/JxbU6sS2b7
Or disable the theme login and use a login plugin or widget that can be placed in the page for example.
Or add a custom link as a menu item in the top bar, directing to a page where the users can login.

Thanks

Post count: 7

I like the default pop-up modal login form of Newspaper theme. I don’t PHP much.

Could you help me what code to insert or what should I modify in the td-login-modal.php?

Or much better please provide a function code (in functions.php child).

Thanks a lot sir Simion. This will help a lot of customers also.

Post count: 20688

Hi,

I tried a few codes and solutions I found online, but none seem to work with the theme login. I did not try plugins (time doesn’t permit), maybe there are some plugins that would do the job.
If you find one that works, or a different solution, please post it here as well if possible.

Thanks

Post count: 72

Hello @khen888,
I too liked the modal login, but I found that the code updates were prodigious.
I ended up with a small free plugin as well called “Login Logout Menu”. It adds a modal login option that shows up as a custom menu option when you are editing your menus. Then, I made a new menu called “Top Bar Header Menu” and assigned the login/logout menu items to that. It works well.

Best,
Kim
I also use a plugin called “Frontend Reset Password” to customize my lost password page. In that plugin, there is an option to replace the login page with a custom page you build.

Post count: 7

thanks for all the help. But what I did were:

1.) change href=”#login-form” into custom URL of top-menu.php
2.) delete class=”td-login-modal-js menu-item” of top-menu.php

It removes the modal login form and change login link into the custom login page I want. Adding more plugins adds more weight to the webpage which slows pagespeed.

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