• in2sky

    (@in2sky)


    Hello all,

    I wonder if there’s a plugin for WP that allows subscribers to log into the website directly, without having a dashboard once logged but the actual website/blog.

    This is quite annoying as once a subscriber logs and is on the dashboard, some information about the blog that should remain secret is displayed there.

    Thx.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    There’s a few plugins for this, including a widget that can go into a sidebar.

    But you can also do it yourself just by creating the proper login form somewhere on the site. Here’s the most basic form that will work. Modify it as needed.

    <form action="/path/to/wp-login.php" method="post">
    <label>Username: <input type="text" id="user_login" /></label>
    <label>Password: <input type="password" id="user_pass" /></label>
    <label><input type="checkbox" id="rememberme" value="forever" />
    Remember Me</label>
    <input type="submit" id="wp-submit" value="Log In" />
    <input type="hidden" name="redirect_to" value="http://example.com/where/you/want/users/to/go/afterwards" />
    <input type="hidden" name="testcookie" value="1" />
    </form>
    Thread Starter in2sky

    (@in2sky)

    Woow, thank you so much! the plug-in works!
    I can’t believe WP haven’t thought of this.
    In any case it works and I love it 🙂

    Hello…I have the same problem as above. I put the code in the side bar, and I get the appropriate sign in screen.

    However, I am doing something wrong…because I come up with a “page not found after entering the info.

    I am sure I am doing something wrong with the code. Exactly how do I change it to go where it is suppose to go?

    The “http://www.example…&#8221; is that where I place the URL to my Blog? The code is already on the page I want them to go to, so I am really confused.

    Any help would be greatly appreciated.

    This doesn’t work, am I missing something?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Subscribers should log into the frontend of WP not dashboard…’ is closed to new replies.