WP-Members: Membership Framework
[resolved] [Plugin: WP-Members] redirect back to post after login / logout redirect location (2 posts)

  1. gauravchand
    Posted 3 years ago #

    I have made the change to comments.php in theme twentyeleven as mentioned in one of your posts:
    comment_form( array( 'must_log_in' => 'You must be logged" rel="nofollow">http://yoursite.com/your-login-page">logged in to post a comment.' ) );

    (1) How do I make it redirect to the blog post from where the user logged in.

    (2) The Logout link on the Top right of admin bar logs the user out but redirects to the wp-admin login page instead of the member area login screen. How do I direct it to go to the login page of wp-members instead?


  2. Chad Butler
    Plugin Author

    Posted 3 years ago #

    Both of those are in WP itself, so you probably need to write a filter using the logout_url filter hook.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP-Members: Membership Framework
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic