• Resolved WPChina

    (@wordpresschina)


    I am using a conditional to only display Posts to logged in users. So if they are logged out, they see the Theme My Login login form. I use this code to place it on the theme file:

    <?php echo do_shortcode("[theme-my-login action='login']"); ?>

    But how can I allow the user to see thats ame page after they login? If they login on the form, they go to their user profile page. But I instead wish them to remain on that same page after the login.

    For example they visit domain.com/2020/post5656 and see the login form. They login, and still stay and can read the Post on domain.com/2020/post5656 instead of going to their Profile page. How can we do this?

    Thank you

Viewing 1 replies (of 1 total)
  • Thread Starter WPChina

    (@wordpresschina)

    Nevermind, I solved it. I purchased the plugin’s extension and it solved my problem. Jeff also gave great service via email after it was purchased. Great plugin!

Viewing 1 replies (of 1 total)
  • The topic ‘How can user remain on same page after TML login?’ is closed to new replies.