Title: Using WordPress default login widget
Last modified: August 21, 2016

---

# Using WordPress default login widget

 *  Resolved [bvindmar](https://wordpress.org/support/users/bvindmar/)
 * (@bvindmar)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/using-wordpress-default-login-widgit/)
 * First of all, thanks for a great plugin – it works great.
 * I have a little thing that Puzzle me.. I’m using the Social login Plugin, who
   adds social log in capabilities to wp-login.php
 * After installing wp-members i have lost the social login – Is there any way I
   can let wp-login.pp be the main login when a content is blocked?
 * WP-members login look like this [http://snowbiz.dk/afstemning/](http://snowbiz.dk/afstemning/)
 * The default login wanted [http://snowbiz.dk/wp-login.php](http://snowbiz.dk/wp-login.php)
 * [https://wordpress.org/plugins/wp-members/](https://wordpress.org/plugins/wp-members/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Chad Butler](https://wordpress.org/support/users/cbutlerjr/)
 * (@cbutlerjr)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/using-wordpress-default-login-widgit/#post-4910302)
 * The simplest way to approach that would be to use the [wpmem_login_form filter](http://rocketgeek.com/plugins/wp-members/users-guide/filter-hooks/wpmem_login_form/)
   to return the WP login form using the [wp_login_form function](http://codex.wordpress.org/Function_Reference/wp_login_form)
   with echo turned off:
 *     ```
       add_filter( 'wpmem_login_form', function(){
       	return wp_login_form( array('echo'=>false) );
       });
       ```
   
 *  [arnecasteleyn](https://wordpress.org/support/users/arnecasteleyn/)
 * (@arnecasteleyn)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/using-wordpress-default-login-widgit/#post-4910359)
 * Sorry, i’m a bit of a noob in the code department. but i’m looking for the same
   thing. where exactly do i change or add this function and in what file?
 * this is the website: [http://cms.aglaja.be/?page_id=1983](http://cms.aglaja.be/?page_id=1983)
 *  [arnecasteleyn](https://wordpress.org/support/users/arnecasteleyn/)
 * (@arnecasteleyn)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/using-wordpress-default-login-widgit/#post-4910360)
 * ok, so i just used these shortcodes, it removed to login, made a simple button
   in my theme design and now it works like a charm! no hooks needed!
 * cheers!
 *     ```
       [wp-members status="out"]
       2
       this content displays when a user is not logged in.
       3
       [/wp-members]
       ```
   
 * and
 * ´[wp-members status=”in”]
    2 this content can only be seen by logged in users.
   3 [/wp-members]`

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Using WordPress default login widget’ is closed to new replies.

 * ![](https://ps.w.org/wp-members/assets/icon-256x256.png?rev=1226414)
 * [WP-Members Membership Plugin](https://wordpress.org/plugins/wp-members/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-members/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-members/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-members/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-members/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-members/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [arnecasteleyn](https://wordpress.org/support/users/arnecasteleyn/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/using-wordpress-default-login-widgit/#post-4910360)
 * Status: resolved